- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for SavedModelReadPathAndSingleprint (1.17 sec)
-
tensorflow/cc/saved_model/metrics_test.cc
} TEST(MetricsTest, TestReadPathAndSingleprint) { EXPECT_EQ(SavedModelReadPathAndSingleprint().value(), ""); SavedModelReadPathAndSingleprint().Set("foo"); EXPECT_EQ(SavedModelReadPathAndSingleprint().value(), "foo"); SavedModelReadPathAndSingleprint().Set("bar"); EXPECT_EQ(SavedModelReadPathAndSingleprint().value(), "bar"); TF_ASSERT_OK_AND_ASSIGN( auto path_singleprint,
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/bundle_v2_test.cc
TF_ASSERT_OK_AND_ASSIGN( auto path_and_singleprint, metrics::ParseSavedModelPathAndSingleprint( metrics::SavedModelReadPathAndSingleprint().value())); auto [path, singleprint] = path_and_singleprint; EXPECT_TRUE(absl::StrContains( path, absl::StrCat(kTestData, "/VarsAndArithmeticObjectGraph"))); EXPECT_EQ(singleprint,
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/metrics.h
// graph_def_program_hash, signature_def_hash, saved_object_graph_hash, // 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.
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
metrics::MakeSavedModelPathAndSingleprint( export_dir, saved_model::fingerprinting::Singleprint( fingerprint_proto.value()))); metrics::SavedModelReadPathAndSingleprint().Set(path_and_singleprint); } return absl::OkStatus(); } absl::Status SavedModelV2Bundle::VisitObjectsToRestore( RestoreObjectsCallback callback) {
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_read_fingerprint->GetCell(); } monitoring::GaugeCell<std::string>& SavedModelReadPath() { return *saved_model_read_path->GetCell(); } monitoring::GaugeCell<std::string>& SavedModelReadPathAndSingleprint() { return *saved_model_read_path_and_singleprint->GetCell(); } monitoring::GaugeCell<std::string>& SavedModelWriteFingerprint() { return *saved_model_write_fingerprint->GetCell(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 23:43:59 UTC 2024 - 13.4K bytes - Viewed (0)