- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MakeFingerprintJson (0.27 sec)
-
tensorflow/cc/saved_model/metrics_test.cc
fingerprint.set_graph_def_program_hash(2); fingerprint.set_signature_def_hash(3); fingerprint.set_saved_object_graph_hash(4); fingerprint.set_checkpoint_hash(5); std::string serialized_fingerprint_json = MakeFingerprintJson(fingerprint); EXPECT_EQ( serialized_fingerprint_json, "{\n\t\"checkpoint_hash\" : 5,\n\t\"graph_def_program_hash\" : " "2,\n\t\"saved_model_checksum\" : 1,\n\t\"saved_object_graph_hash\" : "
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/metrics.h
// and checkpoint_hash) of the SavedModel when it is imported. monitoring::GaugeCell<std::string>& SavedModelReadPathAndSingleprint(); // Returns the fingerprint as a Json string. std::string MakeFingerprintJson(FingerprintDef fingerprint_def); // Returns canonical string concatenation of path and singleprint. absl::StatusOr<std::string> MakeSavedModelPathAndSingleprint( std::string path, std::string singleprint);
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.cc
auto fingerprint_proto = saved_model::fingerprinting::ReadSavedModelFingerprint(export_dir); if (fingerprint_proto.ok()) { metrics::SavedModelReadFingerprint().Set( metrics::MakeFingerprintJson(fingerprint_proto.value())); TF_ASSIGN_OR_RETURN( std::string path_and_singleprint, metrics::MakeSavedModelPathAndSingleprint( export_dir, saved_model::fingerprinting::Singleprint(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 18:28:37 UTC 2023 - 9.1K bytes - Viewed (0) -
tensorflow/cc/saved_model/metrics.cc
return *saved_model_write_path->GetCell(); } monitoring::GaugeCell<std::string>& SavedModelWritePathAndSingleprint() { return *saved_model_write_path_and_singleprint->GetCell(); } std::string MakeFingerprintJson(FingerprintDef fingerprint_def) { Json::Value fingerprint = Json::objectValue; fingerprint["saved_model_checksum"] = Json::UInt64(fingerprint_def.saved_model_checksum());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 23:43:59 UTC 2024 - 13.4K bytes - Viewed (0)