Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FingerprintGraph (0.34 sec)

  1. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

      // Nondeterminism in serialization would not lead to incorrect results, but
      // may cause spurious cache misses.
      TF_ASSIGN_OR_RETURN(uint64 fingerprint, FingerprintGraph(*graph));
      VLOG(1) << "Subgraph fingerprint:" << fingerprint;
      call_def->set_op(absl::StrCat(call_def->op(), "_", fingerprint));
      return absl::OkStatus();
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_cluster_util.cc

      std::string s;
      if (!SerializeToStringDeterministic(def, &s)) {
        return errors::Internal("Failed to serialize graphdef.");
      }
      return s;
    }
    
    absl::StatusOr<uint64> FingerprintGraph(const Graph& graph) {
      TF_ASSIGN_OR_RETURN(std::string serialized,
                          SerializeGraphDeterministic(graph));
      return Hash64(serialized.data(), serialized.size());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top