Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FingerprintGraph (0.25 sec)

  1. tensorflow/compiler/jit/xla_cluster_util.h

    // Computes a fingerprint of the given `graph`. The fingerprint can use used to
    // check if two graphs are likely the same but should not be relied on
    // determining if the graphs are identical.
    absl::StatusOr<uint64> FingerprintGraph(const Graph& graph);
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      // input graph to provide a stable but unique prefix for the name.
      if (debug_options_.deterministic_cluster_names) {
        TF_ASSIGN_OR_RETURN(graph_fingerprint_, FingerprintGraph(*graph_));
      }
    
      // Each compilation candidate belongs to a cluster. The cluster's
      // representative names the node in the 'cycles' graph that represents the
      // cluster.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top