Home
last modified time | relevance | path

Searched refs:Hash64Combine (Results 1 – 25 of 41) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_cse.cc107 hash = tensorflow::Hash64Combine( in CseHash()
112 hash = tensorflow::Hash64Combine(hash, operand->unique_id()); in CseHash()
115 hash = tensorflow::Hash64Combine( in CseHash()
121 return tensorflow::Hash64Combine(hash, instruction->literal().Hash()); in CseHash()
123 return tensorflow::Hash64Combine( in CseHash()
124 tensorflow::Hash64Combine(hash, c_hash(instruction->slice_starts())), in CseHash()
127 return tensorflow::Hash64Combine( in CseHash()
130 return tensorflow::Hash64Combine( in CseHash()
133 return tensorflow::Hash64Combine( in CseHash()
134 tensorflow::Hash64Combine( in CseHash()
[all …]
Dcomputation_layout.cc96 hash_value = tensorflow::Hash64Combine( in Hash()
Dlogical_buffer_analysis.h81 inst_hash = tensorflow::Hash64Combine(*index, inst_hash); in operator()
Dhlo_module_group.cc73 result = tensorflow::Hash64Combine(result, module->Hash()); in Hash()
Dhlo_sharding.cc694 h = tensorflow::Hash64Combine(h, element.Hash()); in Hash()
706 h = tensorflow::Hash64Combine(h, std::hash<uint32>{}(v)); in Hash()
709 h = tensorflow::Hash64Combine(h, std::hash<uint32>{}(1)); in Hash()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_gpu.h121 hash_code_ = Hash64Combine(hash_code_, in_depths); in batch_()
122 for (int64 val : in) hash_code_ = Hash64Combine(hash_code_, val); in batch_()
123 hash_code_ = Hash64Combine(hash_code_, data_format); in batch_()
124 hash_code_ = Hash64Combine(hash_code_, out_depths); in batch_()
125 for (int64 val : filter) hash_code_ = Hash64Combine(hash_code_, val); in batch_()
126 for (int64 val : dilation) hash_code_ = Hash64Combine(hash_code_, val); in batch_()
127 for (int64 val : stride) hash_code_ = Hash64Combine(hash_code_, val); in batch_()
128 for (int64 val : padding) hash_code_ = Hash64Combine(hash_code_, val); in batch_()
129 hash_code_ = Hash64Combine(hash_code_, dtype); in batch_()
130 hash_code_ = Hash64Combine(hash_code_, device_id); in batch_()
[all …]
Dmatmul_op.h75 hash_code_ = Hash64Combine(hash_code_, transb); in MatmulParameters()
76 hash_code_ = Hash64Combine(hash_code_, m); in MatmulParameters()
77 hash_code_ = Hash64Combine(hash_code_, n); in MatmulParameters()
78 hash_code_ = Hash64Combine(hash_code_, k); in MatmulParameters()
79 hash_code_ = Hash64Combine(hash_code_, dtype); in MatmulParameters()
80 hash_code_ = Hash64Combine(hash_code_, device_id); in MatmulParameters()
Dbias_op.cc401 hash_code_ = Hash64Combine(hash_code_, val); in BiasAddParams()
403 hash_code_ = Hash64Combine(hash_code_, data_format); in BiasAddParams()
404 hash_code_ = Hash64Combine(hash_code_, dtype); in BiasAddParams()
405 hash_code_ = Hash64Combine(hash_code_, device_id); in BiasAddParams()
/external/tensorflow/tensorflow/core/kernels/data/
Dhash_utils.cc244 inputs_hash = Hash64Combine( in HashNode()
245 inputs_hash, Hash64Combine(node_hash, Hash64(input.second))); in HashNode()
248 *hash = Hash64Combine(non_input_hash, in HashNode()
249 Hash64Combine(control_inputs_hash, inputs_hash)); in HashNode()
330 attrs_hash = Hash64Combine(attrs_hash, attr_hash); in HashNodeNonInput()
336 *hash = Hash64Combine(op_hash, Hash64Combine(attrs_hash, device_hash)); in HashNodeNonInput()
404 value_hash = Hash64Combine(value_hash, func_hash); in HashAttr()
483 ret_nodes_hash = Hash64Combine(ret_nodes_hash, ret_node_hash); in HashFunction()
494 *hash = Hash64Combine(ret_nodes_hash, control_ret_nodes_hash); in HashFunction()
633 return Hash64Combine(absl::Hash<const NodeDef*>()(start_node), in GetHash()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dnvptx_compiler.h107 return tensorflow::Hash64Combine( in operator()
108 tensorflow::Hash64Combine( in operator()
109 tensorflow::Hash64Combine(tensorflow::Hash64(key.ptx), in operator()
/external/tensorflow/tensorflow/compiler/xla/
Dlayout_util.cc444 using tensorflow::Hash64Combine; in Hash()
449 hash_value = Hash64Combine(hash_value, hash<int64>()(minor_to_major)); in Hash()
453 hash_value = Hash64Combine(hash_value, hash<int64>()(tile_dim)); in Hash()
456 hash_value = Hash64Combine(hash_value, layout.element_size_in_bits()); in Hash()
457 hash_value = Hash64Combine(hash_value, layout.memory_space()); in Hash()
Dshape_util.cc1635 using tensorflow::Hash64Combine; in Hash()
1642 Hash64Combine(hash_value, hash<int64>()(shape.dimensions(i))); in Hash()
1643 hash_value = Hash64Combine(hash_value, in Hash()
1647 hash_value = Hash64Combine(hash_value, LayoutUtil::Hash(shape.layout())); in Hash()
1651 hash_value = Hash64Combine(hash_value, ShapeUtil::Hash(subshape)); in Hash()
/external/tensorflow/tensorflow/core/platform/
Dhash.h49 inline uint64 Hash64Combine(uint64 a, uint64 b) { in Hash64Combine() function
120 return Hash64Combine(hash<T>()(p.first), hash<U>()(p.second));
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dcommon_subgraph_elimination.cc99 h = Hash64Combine(Hash64(node.device()), h); in ComputeSignature()
103 uint64 input_hash = Hash64Combine( in ComputeSignature()
110 Hash64Combine(Hash64(attr.first), FastAttrValueHash(attr.second)); in ComputeSignature()
/external/tensorflow/tensorflow/core/framework/
Dvariant_op_registry.h204 ret = Hash64Combine(ret, std::get<1>(x).hash_code()); in operator()
236 ret = Hash64Combine(ret, sp_hasher_(std::get<1>(x))); in operator()
237 ret = Hash64Combine(ret, std::get<2>(x).hash_code()); in operator()
245 ret = Hash64Combine(ret, sp_hasher_(x.device_)); in operator()
246 ret = Hash64Combine(ret, x.type_index_.hash_code()); in operator()
Dop_def_util.cc808 h = Hash64Combine(AttrValueHash(a.default_value()), h); in AttrDefHash()
810 h = Hash64Combine(static_cast<uint64>(a.has_minimum()), h); in AttrDefHash()
811 h = Hash64Combine(static_cast<uint64>(a.minimum()), h); in AttrDefHash()
812 h = Hash64Combine(AttrValueHash(a.allowed_values()), h); in AttrDefHash()
847 h = Hash64Combine(AttrDefHash(*pair.second), h); in RepeatedAttrDefHash()
882 for (const auto& co : control_output) h = Hash64Combine(h, Hash64(co)); in OpDefHash()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_compilation_cache.cc117 h = Hash64Combine(h, std::hash<int>()(static_cast<int>(arg.first))); in operator ()()
118 h = Hash64Combine(h, std::hash<int>()(arg.second.size())); in operator ()()
120 h = Hash64Combine(h, std::hash<int>()(dim)); in operator ()()
124 h = Hash64Combine( in operator ()()
Ddeadness_analysis.cc571 hash = Hash64Combine(hash, ::tensorflow::hash<Predicate*>()(p)); in operator ()()
579 return Hash64Combine(SafeTensorId::Hasher()(signature.first), in operator ()()
586 return Hash64Combine( in operator ()()
588 Hash64Combine( in operator ()()
/external/tensorflow/tensorflow/core/graph/
Doptimizer_cse.cc100 void MixInteger(size_t z) { h_ = Hash64Combine(h_, z); } in MixInteger()
113 h_ = Hash64Combine(h_, hasher.hash()); in MixProto()
/external/tensorflow/tensorflow/core/util/
Dequal_graph_def.cc90 h = Hash64Combine(NodeDefHash(*pair.second, options), h); in RepeatedNodeDefHash()
271 h = Hash64Combine(AttrValueHash(a.second), h); in NodeDefHash()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.cc389 tensorflow::Hash64Combine(hash_value, tensorflow::hash<int>()(dim)); in GetHashValue()
392 tensorflow::Hash64Combine(hash_value, tensorflow::hash<int>()(stride)); in GetHashValue()
412 tensorflow::Hash64Combine(hash_value, tensorflow::hash<int>()(element)); in GetHashValue()
999 hash_value = tensorflow::Hash64Combine(hash_value, in GetHashValue()
1001 hash_value = tensorflow::Hash64Combine(hash_value, in GetHashValue()
1003 hash_value = tensorflow::Hash64Combine(hash_value, in GetHashValue()
1318 hash_value = tensorflow::Hash64Combine( in GetFusionOpHashValue()
1322 tensorflow::Hash64Combine(hash_value, GetHashValue(input_descriptor)); in GetFusionOpHashValue()
1324 tensorflow::Hash64Combine(hash_value, GetHashValue(filter_descriptor)); in GetFusionOpHashValue()
1326 tensorflow::Hash64Combine(hash_value, GetHashValue(conv_descriptor)); in GetFusionOpHashValue()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_utils.cc122 hash = Hash64Combine(hash, Hash64String(node.name())); in HashNodeDef()
124 hash = Hash64Combine(hash, Hash64String(CanonicalInputName(input))); in HashNodeDef()
126 hash = Hash64Combine(hash, Hash64String(node.device())); in HashNodeDef()
137 hash = Hash64Combine(hash, Hash64String(attr_serialized)); in HashNodeDef()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_cond.cc66 h = Hash64Combine(h, std::hash<int>()(ancestor.output_tensor.index)); in operator ()()
67 return Hash64Combine(h, std::hash<int>()(static_cast<int>(ancestor.type))); in operator ()()
177 size_t h = Hash64Combine(OutputTensor::Hash()(it->first), in operator ()()
181 h = Hash64Combine(h, Hash64Combine(OutputTensor::Hash()(it->first), in operator ()()
194 h = Hash64Combine(h, AncestorNode::Hash()(*it)); in operator ()()
422 return Hash64Combine(hash<Node*>()(item.first), in BuildArgumentNodes()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dunique_dataset_op.cc167 hash = Hash64Combine(hash, Hash64(flat_t(i))); in operator ()()
Dsnapshot_dataset_op.cc884 hash = Hash64Combine(hash, Hash64(compression)); in MakeDataset()
2374 *hash = Hash64Combine(*hash, Hash64(path)); in ComputeDatasetHash()
2375 *hash = Hash64Combine(*hash, Hash64(compression_)); in ComputeDatasetHash()
2376 *hash = Hash64Combine(*hash, Hash64(reader_path_prefix_)); in ComputeDatasetHash()
2377 *hash = Hash64Combine(*hash, Hash64(writer_path_prefix_)); in ComputeDatasetHash()
2378 *hash = Hash64Combine(*hash, shard_size_bytes_); in ComputeDatasetHash()

12