- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for kSavedModelAssetsDirectory (1.02 sec)
-
tensorflow/cc/saved_model/saved_model_bundle_test.cc
} void ValidateAssets(const string& export_dir, const SavedModelBundle& bundle) { const string asset_directory = io::JoinPath(export_dir, kSavedModelAssetsDirectory); const string asset_filename = "foo.txt"; const string asset_filepath = io::JoinPath(asset_directory, asset_filename); TF_EXPECT_OK(Env::Default()->FileExists(asset_filepath));
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.cc
if (asset_file_defs.empty()) { return; } for (auto& asset_file_def : asset_file_defs) { Tensor assets_file_path_tensor = CreateStringTensor(io::JoinPath( export_dir, kSavedModelAssetsDirectory, asset_file_def.filename())); inputs->push_back( {asset_file_def.tensor_info().name(), assets_file_path_tensor}); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 04:36:00 UTC 2024 - 23K bytes - Viewed (0)