- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for kSavedModelAssetsDirectory (0.53 sec)
-
tensorflow/c/experimental/saved_model/core/revived_types/asset.cc
const std::string& asset_filename, std::unique_ptr<Asset>* output) { std::string abs_path = io::JoinPath(saved_model_dir, kSavedModelAssetsDirectory, asset_filename); AbstractTensorPtr tensor(ctx->CreateStringScalar(abs_path)); if (tensor.get() == nullptr) { return absl::InternalError(absl::StrCat(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 20:11:48 UTC 2023 - 1.9K bytes - Viewed (0) -
tensorflow/cc/saved_model/constants.h
#ifndef TENSORFLOW_CC_SAVED_MODEL_CONSTANTS_H_ #define TENSORFLOW_CC_SAVED_MODEL_CONSTANTS_H_ namespace tensorflow { // SavedModel assets directory. inline constexpr char kSavedModelAssetsDirectory[] = "assets"; // SavedModel assets.extra directory. inline constexpr char kSavedModelAssetsExtraDirectory[] = "assets.extra"; // SavedModel assets key for graph collection-def.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 23:02:22 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_lite_test.cc
} void ValidateAssets(const string& export_dir, const SavedModelBundleLite& 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 - 9.7K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
builder.getStringAttr( absl::StrCat("__tf_saved_model_asset", i++, "_", asset.filename())), /*filename=*/ builder.getStringAttr( io::JoinPath(kSavedModelAssetsDirectory, asset.filename()))); results.push_back({asset.tensor_info().name(), asset_op}); } return results; } Status SavedModelSignatureDefImporterLite::MoveConvertedFunctionsToModule(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)