Home
last modified time | relevance | path

Searched refs:Hash64 (Results 1 – 25 of 52) sorted by relevance

123

/external/tensorflow/tensorflow/core/platform/
Dhash.h33 extern uint64 Hash64(const char* data, size_t n, uint64 seed);
35 inline uint64 Hash64(const char* data, size_t n) { in Hash64() function
36 return Hash64(data, n, 0xDECAFCAFFE); in Hash64()
39 inline uint64 Hash64(const char* data) { return Hash64(data, ::strlen(data)); } in Hash64() function
41 inline uint64 Hash64(const std::string& str) { in Hash64() function
42 return Hash64(str.data(), str.size()); in Hash64()
45 inline uint64 Hash64(const tstring& str) { in Hash64() function
46 return Hash64(str.data(), str.size()); in Hash64()
98 return static_cast<size_t>(Hash64(s));
105 return static_cast<size_t>(Hash64(s.data(), s.size()));
[all …]
Dtracing.cc55 return Hash64(name.data(), name.size()); in GetArgForName()
Dhash.cc79 uint64 Hash64(const char* data, size_t n, uint64 seed) { in Hash64() function
/external/tensorflow/tensorflow/core/util/
Dequal_graph_def.cc89 h = Hash64(pair.first.data(), pair.first.size(), h); in RepeatedNodeDefHash()
237 uint64 h = Hash64(ndef.name()); in NodeDefHash()
238 h = Hash64(ndef.op().data(), ndef.op().size(), h); in NodeDefHash()
239 h = Hash64(ndef.device().data(), ndef.device().size(), h); in NodeDefHash()
248 h = Hash64(ndef.input(i).data(), ndef.input(i).size(), h); in NodeDefHash()
257 h = Hash64(s.data(), s.size(), h); in NodeDefHash()
270 h = Hash64(a.first.data(), a.first.size(), h); in NodeDefHash()
/external/libcxx/test/libcxx/utilities/function.objects/unord.hash/
Dmurmur2_or_cityhash_ubsan_unsigned_overflow_ignored.pass.cpp21 typedef std::__murmur2_or_cityhash<uint64_t> Hash64; typedef
26 Hash64 h2; in test()
/external/llvm-project/libcxx/test/libcxx/utilities/function.objects/unord.hash/
Dmurmur2_or_cityhash_ubsan_unsigned_overflow_ignored.pass.cpp20 typedef std::__murmur2_or_cityhash<uint64_t> Hash64; typedef
25 Hash64 h2; in test()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dcommon_subgraph_elimination.cc98 uint64 h = Hash64(node.op()); in ComputeSignature()
99 h = Hash64Combine(Hash64(node.device()), h); in ComputeSignature()
104 Hash64(input_tensor.node().data(), input_tensor.node().size()), in ComputeSignature()
110 Hash64Combine(Hash64(attr.first), FastAttrValueHash(attr.second)); in ComputeSignature()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_timeline_test.cc74 EXPECT_EQ(16556121177519539380ull, Hash64(dump_str)); in TEST_F()
88 EXPECT_EQ(17545174915963890413ull, Hash64(dump_str)); in TEST_F()
/external/libtextclassifier/native/utils/hash/
Dfarmhash.h72 uint64_t Hash64(const char* s, size_t len);
192 inline uint64_t Hash64(const Str& s) { in Hash64() function
194 return Hash64(s.data(), s.length()); in Hash64()
/external/icing/icing/text_classifier/lib3/utils/hash/
Dfarmhash.h70 uint64_t Hash64(const char* s, size_t len);
190 inline uint64_t Hash64(const Str& s) { in Hash64() function
192 return Hash64(s.data(), s.length()); in Hash64()
/external/tensorflow/tensorflow/core/lib/strings/
Dproto_serialization.cc92 return Hash64(serialized.data(), serialized.size(), seed); in DeterministicProtoHash64()
97 return Hash64(serialized.data(), serialized.size()); in DeterministicProtoHash64()
/external/tensorflow/tensorflow/core/lib/hash/
Dhash_test.cc58 Hash64(reinterpret_cast<const char*>(c.data), c.size, c.seed)); in TEST()
65 EXPECT_EQ(c.hash64, Hash64(&input[align], c.size, c.seed)); in TEST()
/external/tensorflow/tensorflow/core/kernels/data/
Dhash_utils.cc245 inputs_hash, Hash64Combine(node_hash, Hash64(input.second))); in HashNode()
316 op_hash = Hash64(node->op()); in HashNodeNonInput()
334 uint64 device_hash = Hash64(node->device()); in HashNodeNonInput()
410 *hash = Hash64(absl::StrCat(attr_name, "=", value_hash)); in HashAttr()
665 *hash = Hash64Combine(*hash, Hash64(s->data(), s->size())); in HashTensor()
669 *hash = Hash64(tensor.tensor_data().data(), tensor.tensor_data().size()); in HashTensor()
Doptimize_dataset_op.cc90 auto hash_func = [](const string& str) { return Hash64(str); }; in MakeDataset()
/external/tensorflow/tensorflow/core/framework/
Dcontrol_flow.h52 return Hash64(reinterpret_cast<const char*>(&key), sizeof(FrameAndIter)); in operator()
Dtype_index.h68 return TypeIndex(Hash64(typeid(T).name()), typeid(T).name()); in Make()
Dop_def_util.cc806 uint64 h = Hash64(a.name()); in AttrDefHash()
807 h = Hash64(a.type().data(), a.type().size(), h); in AttrDefHash()
809 h = Hash64(a.description().data(), a.description().size(), h); in AttrDefHash()
846 h = Hash64(pair.first.data(), pair.first.size(), h); in RepeatedAttrDefHash()
882 for (const auto& co : control_output) h = Hash64Combine(h, Hash64(co)); in OpDefHash()
/external/angle/third_party/abseil-cpp/absl/hash/internal/
Dhash.cc38 state = Mix(state, Hash64(first, PiecewiseChunkSize())); in CombineLargeContiguousImpl64()
/external/tensorflow/tensorflow/core/kernels/
Dstring_to_hash_bucket_op.cc45 const uint64 input_hash = Hash64(input_flat(i)); in Compute()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dunique_dataset_op.cc161 return Hash64(t.tensor_data().data(), t.tensor_data().size()); in operator ()()
167 hash = Hash64Combine(hash, Hash64(flat_t(i))); in operator ()()
/external/tensorflow/tensorflow/core/graph/
Doptimizer_cse.cc98 void MixString(const string& s) { h_ = Hash64(s.data(), s.size(), h_); } in MixString()
188 h_ = Hash64(p, n, h_); in Mix()
/external/tensorflow/tensorflow/cc/framework/
Dops.cc48 return ::tensorflow::Hash64(reinterpret_cast<const char*>(&node_), in hash()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dnvptx_compiler.h109 tensorflow::Hash64Combine(tensorflow::Hash64(key.ptx), in operator()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_cse.cc101 return tensorflow::Hash64(reinterpret_cast<const char*>(c.data()), in CseHash()
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.h245 return ::tensorflow::Hash64(

123