- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MaybeSavedModelDirectory (0.29 sec)
-
tensorflow/cc/saved_model/saved_model_bundle_lite_test.cc
{kSavedModelTagServe}, &bundle); EXPECT_FALSE(st.ok()); } TEST_F(LoaderTest, MaybeSavedModelDirectory) { // Valid SavedModel directory. const string export_dir = io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); EXPECT_TRUE(MaybeSavedModelDirectory(export_dir)); // Directory that does not exist. const string missing_export_dir =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 9.7K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_test.cc
{kSavedModelTagServe}, &bundle); EXPECT_FALSE(st.ok()); } TEST_F(LoaderTest, MaybeSavedModelDirectory) { // Valid SavedModel directory. const string export_dir = io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); EXPECT_TRUE(MaybeSavedModelDirectory(export_dir)); // Directory that does not exist. const string missing_export_dir =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 15.3K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader.h
/// the export directory definitely does not contain a SavedModel. If the method /// returns `true`, the export directory may contain a SavedModel but provides /// no guarantee that it can be loaded. bool MaybeSavedModelDirectory(const std::string& export_dir); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 18:28:37 UTC 2023 - 6K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader.cc
TF_RETURN_IF_ERROR(LoadSavedModelGeneric(rewritten_options, run_options, export_dir, tags, bundle)); return absl::OkStatus(); } bool MaybeSavedModelDirectory(const string& export_dir) { const string saved_model_pb_path = io::JoinPath(export_dir, kSavedModelFilenamePb); const string saved_model_cpb_path = io::JoinPath(export_dir, kSavedModelFilenameCpb);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 04:36:00 UTC 2024 - 23K bytes - Viewed (0)