| 78 | } |
| 79 | |
| 80 | uint64 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 |
nothing calls this directly
no test coverage detected