From ff2377f03ee65cb500e5fb4d25cfcd6b3ecd49bd Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Mon, 25 Jan 2021 15:44:13 -0800 Subject: [PATCH] Remove the fingerprint() field from HloInstruction. It is more flexible to cache fingerprints in a separate hash table. PiperOrigin-RevId: 353746875 Change-Id: I33f3755a3dcb9e90949a1d186841b875a4c99fe4 --- tensorflow/compiler/xla/service/hlo_instruction.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tensorflow/compiler/xla/service/hlo_instruction.h b/tensorflow/compiler/xla/service/hlo_instruction.h index a78d41f686b..f27c7de7090 100644 --- a/tensorflow/compiler/xla/service/hlo_instruction.h +++ b/tensorflow/compiler/xla/service/hlo_instruction.h @@ -1349,9 +1349,6 @@ class HloInstruction { const HloPrintOptions& options, CanonicalNameMap* canonical_name_map) const; - const absl::optional& fingerprint() const { return fingerprint_; } - void set_fingerprint(const uint64 fingerprint) { fingerprint_ = fingerprint; } - // Returns a serialized representation of this instruction. virtual HloInstructionProto ToProto() const; @@ -2059,9 +2056,6 @@ class HloInstruction { // HloInstruction. bool IsMarkedAsDead() const { return marked_as_dead_; } - // Fingerprint of this instruction alone. - absl::optional fingerprint_; - int unique_id_; // Unique to this HloInstruction within a HloModule // Opcode for this instruction.