- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for saved_model_checksum (0.35 sec)
-
tensorflow/cc/saved_model/fingerprinting_test.cc
// While the saved_model serialization is deterministic, the model saving and // proto construction is not. Therefore, we can't compare the two // fingerprints' saved_model_checksums. EXPECT_GT(fingerprint_def.saved_model_checksum(), 0); EXPECT_GT(fingerprint_def2.saved_model_checksum(), 0); EXPECT_EQ(fingerprint_def.graph_def_program_hash(), fingerprint_def2.graph_def_program_hash()); EXPECT_EQ(fingerprint_def.signature_def_hash(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/cc/saved_model/metrics.cc
"The API used to load the SavedModel.", "api_label"); // Gauge that contains the fingerprint (saved_model_checksum) of the newly // written SavedModel. auto* saved_model_write_fingerprint = monitoring::Gauge<std::string, 0>::New( "/tensorflow/core/saved_model/write/fingerprint", "The fingerprint (saved_model_checksum) of the exported SavedModel."); // Gauge that contains the path (saved_model_path) of the newly written
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 23:43:59 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/metrics_test.cc
"2,\n\t\"saved_model_checksum\" : 1,\n\t\"saved_object_graph_hash\" : " "4,\n\t\"signature_def_hash\" : 3\n}"); Json::Value fingerprint_json = Json::objectValue; Json::Reader reader = Json::Reader(); reader.parse(serialized_fingerprint_json, fingerprint_json); EXPECT_EQ(fingerprint_json["saved_model_checksum"].asUInt64(), 1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 23:43:59 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_chunked_test.cc
"chunked_saved_model/chunked_model"); TF_ASSERT_OK_AND_ASSIGN(FingerprintDef fingerprint_pb, CreateFingerprintDef(export_dir)); EXPECT_GT(fingerprint_pb.saved_model_checksum(), 0); // We test for multiple fingerprints due to non-determinism when building with // different compilation_mode flag options. EXPECT_THAT(absl::flat_hash_set<uint64_t>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/cc/saved_model/metrics.h
monitoring::CounterCell& SavedModelReadApi(absl::string_view api_label); // Returns "/tensorflow/core/saved_model/write/fingerprint" cell, which contains // the saved_model_checksum of the SM's fingerprint when it is exported. monitoring::GaugeCell<std::string>& SavedModelWriteFingerprint(); // Returns "/tensorflow/core/saved_model/write/path" cell, which contains
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 23:43:59 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/cc/saved_model/bundle_v2_test.cc
Json::Value fingerprint = Json::objectValue; Json::Reader reader = Json::Reader(); reader.parse(metrics::SavedModelReadFingerprint().value(), fingerprint); EXPECT_EQ(fingerprint["saved_model_checksum"].asUInt64(), 15788619162413586750ULL); EXPECT_EQ(fingerprint["graph_def_program_hash"].asUInt64(), 706963557435316516ULL); EXPECT_EQ(fingerprint["signature_def_hash"].asUInt64(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 12 17:51:15 UTC 2023 - 6K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader.cc
auto fingerprint_proto = saved_model::fingerprinting::ReadSavedModelFingerprint(export_dir); if (fingerprint_proto.ok()) { // Set gauge cell with saved_model_checksum. metrics::SavedModelReadFingerprint().Set( std::to_string(fingerprint_proto->saved_model_checksum())); } // TODO(robson): Add tests for the counters. const uint64 start_microseconds = Env::Default()->NowMicros();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 04:36:00 UTC 2024 - 23K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils.cc
std::vector<ChunkInfo> chunks_info = std::vector<ChunkInfo>( chunk_metadata.chunks().begin(), chunk_metadata.chunks().end()); FingerprintDef fingerprint_def; SavedModel saved_model; // Set the saved_model_checksum. TF_ASSIGN_OR_RETURN(uint64_t saved_model_hash, HashFields(chunk_metadata.message(), reader, chunks_info, {}, &saved_model));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 20.2K bytes - Viewed (0)