MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Hash

Method Hash

tensorflow/compiler/xla/service/computation_layout.cc:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80uint64 ComputationLayout::Hash() const {
81 uint64 hash_value = ShapeUtil::Hash(result_layout_.shape());
82 for (const auto& parameter_layout : parameter_layouts_) {
83 hash_value = tensorflow::Hash64Combine(
84 hash_value, ShapeUtil::Hash(parameter_layout.shape()));
85 }
86 return hash_value;
87}
88
89} // namespace xla

Callers

nothing calls this directly

Calls 3

Hash64CombineFunction · 0.85
HashClass · 0.50
shapeMethod · 0.45

Tested by

no test coverage detected