/external/tensorflow/tensorflow/core/platform/ |
D | fingerprint_test.cc | 26 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()
|
D | fingerprint.h | 73 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/ |
D | api_def_SparseCrossV2.pbtxt | 82 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")))
|
D | api_def_SparseCrossHashed.pbtxt | 95 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")))
|
D | api_def_SparseCross.pbtxt | 97 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/ |
D | presized_cuckoo_map_test.cc | 67 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/ |
D | fingerprinting.cc | 100 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/ |
D | actions-suggestions_test.cc | 1457 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/ |
D | serialization.cc | 77 … ::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/ |
D | farmhash.h | 120 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/ |
D | farmhash.h | 118 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/ |
D | fingerprint_op.cc | 49 Fingerprint64({reinterpret_cast<const char*>(&input(i, 0)), in FarmhashFingerprint64() 61 Fingerprint64({input(i).data(), input(i).size()}); in FarmhashFingerprint64()
|
D | string_to_hash_bucket_fast_op.cc | 23 StringToHashBucketOp<Fingerprint64>);
|
D | tensor_to_hash_bucket_op.h | 59 const uint64 input_hash = Fingerprint64(input_str); in operator()
|
D | tensor_to_hash_bucket_op_gpu.cu.cc | 75 uint64_t a_hash = ::util_gpu::Fingerprint64( in ComputeHashes()
|
D | sparse_cross_op.cc | 120 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/ |
D | tpu_compile_interface.cc | 24 return ::tensorflow::Fingerprint64(str); in FingerprintString()
|
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/ |
D | op_builder.cc | 44 ::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/ |
D | program_cache.cc | 50 const uint64_t code_fingerprint = ::util::Fingerprint64(code); in GetProgramFingerprint() 52 ::util::Fingerprint64(compiler_options); in GetProgramFingerprint()
|
/external/libtextclassifier/native/utils/ |
D | token-feature-extractor.cc | 162 return tc3farmhash::Fingerprint64(token) % options_.num_buckets; in HashToken() 176 return (tc3farmhash::Fingerprint64(token) % in HashToken()
|
/external/icing/icing/util/ |
D | fingerprint-util_test.cc | 34 uint64_t fprint = tc3farmhash::Fingerprint64(str); in TEST()
|
/external/libtextclassifier/native/utils/tflite/ |
D | string_projection_base.cc | 85 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/ |
D | file_input_yielder.cc | 118 strings::StrCat(Fingerprint64(metagraph.SerializeAsString())); in NextItem()
|
/external/tensorflow/tensorflow/compiler/xla/pjrt/ |
D | pjrt_client.h | 68 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/ |
D | tpu_compile_op_common.h | 77 mlir_module_fingerprint_ = tensorflow::Fingerprint64(mlir_module_); in TpuCompileOpKernelCommon()
|