Home
last modified time | relevance | path

Searched refs:Fingerprint64 (Results 1 – 25 of 48) sorted by relevance

12

/external/tensorflow/tensorflow/core/platform/
Dfingerprint_test.cc26 TEST(Fingerprint64, IsForeverFrozen) { in TEST() argument
27 EXPECT_EQ(15404698994557526151ULL, Fingerprint64("Hello")); in TEST()
28 EXPECT_EQ(18308117990299812472ULL, Fingerprint64("World")); in TEST()
52 FingerprintCat64(Fingerprint64("Hello"), Fingerprint64("World"))); in TEST()
55 FingerprintCat64(Fingerprint64("World"), Fingerprint64("Hello"))); in TEST()
61 FingerprintCat64(Fingerprint64("Hello"), Fingerprint64("World")); in TEST()
63 FingerprintCat64(Fingerprint64("Hello"), Fingerprint64("World"))); in TEST()
64 EXPECT_NE(FingerprintCat64(Fingerprint64("Hello"), Fingerprint64("Hi")), in TEST()
65 FingerprintCat64(Fingerprint64("Hello"), Fingerprint64("World"))); in TEST()
69 FingerprintCat64(Fingerprint64("Hello"), Fingerprint64("World"))); in TEST()
Dfingerprint.h73 inline uint64 Fingerprint64(const StringPiece s) { in Fingerprint64() function
75 return ::util::Fingerprint64(s.data(), s.size()); in Fingerprint64()
81 return farmhash::Fingerprint64(s.data(), s.size()); in Fingerprint64()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SparseCrossV2.pbtxt82 Fingerprint64("f"), FingerprintCat64(
83 Fingerprint64("d"), Fingerprint64("a")))
85 Fingerprint64("g"), FingerprintCat64(
86 Fingerprint64("e"), Fingerprint64("b")))
88 Fingerprint64("g"), FingerprintCat64(
89 Fingerprint64("e"), Fingerprint64("c")))
Dapi_def_SparseCrossHashed.pbtxt95 Fingerprint64("f"), FingerprintCat64(
96 Fingerprint64("d"), Fingerprint64("a")))
98 Fingerprint64("g"), FingerprintCat64(
99 Fingerprint64("e"), Fingerprint64("b")))
101 Fingerprint64("g"), FingerprintCat64(
102 Fingerprint64("e"), Fingerprint64("c")))
Dapi_def_SparseCross.pbtxt97 Fingerprint64("f"), FingerprintCat64(
98 Fingerprint64("d"), Fingerprint64("a")))
100 Fingerprint64("g"), FingerprintCat64(
101 Fingerprint64("e"), Fingerprint64("b")))
103 Fingerprint64("g"), FingerprintCat64(
104 Fingerprint64("e"), Fingerprint64("c")))
/external/tensorflow/tensorflow/core/util/
Dpresized_cuckoo_map_test.cc67 Fingerprint64(string(reinterpret_cast<char *>(&i), sizeof(int64_t))); in TEST()
75 Fingerprint64(string(reinterpret_cast<char *>(&i), sizeof(int64_t))); in TEST()
89 Fingerprint64(string(reinterpret_cast<char *>(&i), sizeof(int64_t))); in TEST()
123 Fingerprint64(string(reinterpret_cast<char *>(&i), sizeof(int64_t))); in RunFill()
128 Fingerprint64(string(reinterpret_cast<char *>(&i), sizeof(int64_t))); in RunFill()
147 Fingerprint64(string(reinterpret_cast<char *>(&i), sizeof(uint64))); in TEST()
153 Fingerprint64(string(reinterpret_cast<char *>(&i), sizeof(uint64))); in TEST()
162 Fingerprint64(string(reinterpret_cast<char *>(&i), sizeof(uint64))); in CalculateKeys()
/external/tensorflow/tensorflow/cc/saved_model/
Dfingerprinting.cc100 return tensorflow::Fingerprint64(data); in HashCheckpointIndexFile()
112 return tensorflow::Fingerprint64(graph_def_string); in ComputeHash()
167 result_hash, tensorflow::Fingerprint64(signature_def_string)); in RegularizeAndHashSignatureDefs()
195 tensorflow::Fingerprint64(absl::StripSuffix( in RegularizeAndHashSavedObjectGraph()
203 result_hash, tensorflow::Fingerprint64(concrete_function_string)); in RegularizeAndHashSavedObjectGraph()
/external/libtextclassifier/native/actions/
Dactions-suggestions_test.cc1457 EXPECT_THAT(embeddings[0], FloatEq(tc3farmhash::Fingerprint64("a", 1) % in TEST_F()
1459 EXPECT_THAT(embeddings[1], FloatEq(tc3farmhash::Fingerprint64("b", 1) % in TEST_F()
1461 EXPECT_THAT(embeddings[2], FloatEq(tc3farmhash::Fingerprint64("c", 1) % in TEST_F()
1478 EXPECT_THAT(embeddings[0], FloatEq(tc3farmhash::Fingerprint64("a", 1) % in TEST_F()
1480 EXPECT_THAT(embeddings[1], FloatEq(tc3farmhash::Fingerprint64("b", 1) % in TEST_F()
1482 EXPECT_THAT(embeddings[2], FloatEq(tc3farmhash::Fingerprint64("c", 1) % in TEST_F()
1501 EXPECT_THAT(embeddings[0], FloatEq(tc3farmhash::Fingerprint64("b", 1) % in TEST_F()
1503 EXPECT_THAT(embeddings[1], FloatEq(tc3farmhash::Fingerprint64("c", 1) % in TEST_F()
1519 EXPECT_THAT(embeddings[0], FloatEq(tc3farmhash::Fingerprint64("a", 1) % in TEST_F()
1521 EXPECT_THAT(embeddings[1], FloatEq(tc3farmhash::Fingerprint64("b", 1) % in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/delegates/
Dserialization.cc77 … ::NAMESPACE_FOR_HASH_FUNCTIONS::Fingerprint64(reinterpret_cast<const char*>(data), num_bytes)); in StrFingerprint()
236 ::NAMESPACE_FOR_HASH_FUNCTIONS::Fingerprint64(model_token_.c_str(), model_token_.size()); in GetEntryImpl()
240 ::NAMESPACE_FOR_HASH_FUNCTIONS::Fingerprint64(custom_key.c_str(), custom_key.size()); in GetEntryImpl()
258 ::NAMESPACE_FOR_HASH_FUNCTIONS::Fingerprint64(reinterpret_cast<char*>(context_data.data()), in GetEntryImpl()
284 … ::NAMESPACE_FOR_HASH_FUNCTIONS::Fingerprint64(reinterpret_cast<char*>(partition_data.data()), in GetEntryImpl()
/external/libtextclassifier/native/utils/hash/
Dfarmhash.h120 uint64_t Fingerprint64(const char* s, size_t len);
248 inline uint64_t Fingerprint64(const Str& s) { in Fingerprint64() function
250 return Fingerprint64(s.data(), s.length()); in Fingerprint64()
/external/icing/icing/text_classifier/lib3/utils/hash/
Dfarmhash.h118 uint64_t Fingerprint64(const char* s, size_t len);
246 inline uint64_t Fingerprint64(const Str& s) { in Fingerprint64() function
248 return Fingerprint64(s.data(), s.length()); in Fingerprint64()
/external/tensorflow/tensorflow/core/kernels/
Dfingerprint_op.cc49 Fingerprint64({reinterpret_cast<const char*>(&input(i, 0)), in FarmhashFingerprint64()
61 Fingerprint64({input(i).data(), input(i).size()}); in FarmhashFingerprint64()
Dstring_to_hash_bucket_fast_op.cc23 StringToHashBucketOp<Fingerprint64>);
Dtensor_to_hash_bucket_op.h59 const uint64 input_hash = Fingerprint64(input_str); in operator()
Dtensor_to_hash_bucket_op_gpu.cu.cc75 uint64_t a_hash = ::util_gpu::Fingerprint64( in ComputeHashes()
Dsparse_cross_op.cc120 return Fingerprint64(values_.vec<tstring>().data()[start + n]); in Feature()
138 return Fingerprint64(values_.vec<tstring>()(start + n)); in Feature()
139 return Fingerprint64( in Feature()
225 return Fingerprint64(tensor_.matrix<tstring>()(batch, n)); in Feature()
242 return Fingerprint64(tensor_.matrix<tstring>()(batch, n)); in Feature()
/external/tensorflow/tensorflow/core/tpu/
Dtpu_compile_interface.cc24 return ::tensorflow::Fingerprint64(str); in FingerprintString()
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/
Dop_builder.cc44 ::util::Fingerprint64(data, data_len), in ComputeHash()
45 ::util::Fingerprint64(reinterpret_cast<const char*>(shape), in ComputeHash()
52 auto int8_to_uint8_hash = ::util::Fingerprint64( in ComputeHash()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dprogram_cache.cc50 const uint64_t code_fingerprint = ::util::Fingerprint64(code); in GetProgramFingerprint()
52 ::util::Fingerprint64(compiler_options); in GetProgramFingerprint()
/external/libtextclassifier/native/utils/
Dtoken-feature-extractor.cc162 return tc3farmhash::Fingerprint64(token) % options_.num_buckets; in HashToken()
176 return (tc3farmhash::Fingerprint64(token) % in HashToken()
/external/icing/icing/util/
Dfingerprint-util_test.cc34 uint64_t fprint = tc3farmhash::Fingerprint64(str); in TEST()
/external/libtextclassifier/native/utils/tflite/
Dstring_projection_base.cc85 tc3farmhash::Fingerprint64(iter.first.c_str(), iter.first.size()); in GetFeatureWeights()
184 int64_t hash_signature = tc3farmhash::Fingerprint64(key, kKeyBytes); in running_sign_bit()
/external/tensorflow/tensorflow/core/grappler/inputs/
Dfile_input_yielder.cc118 strings::StrCat(Fingerprint64(metagraph.SerializeAsString())); in NextItem()
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dpjrt_client.h68 static const PjRtPlatformId kCpuId = tensorflow::Fingerprint64(CpuName()); in CpuId()
72 static const PjRtPlatformId kGpuId = tensorflow::Fingerprint64(GpuName()); in GpuId()
76 static const PjRtPlatformId kTpuId = tensorflow::Fingerprint64(TpuName()); in TpuId()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compile_op_common.h77 mlir_module_fingerprint_ = tensorflow::Fingerprint64(mlir_module_); in TpuCompileOpKernelCommon()

12