- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for asset_file_def (0.34 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/exported_model.proto
// Holds information about the asset files used for the model. It essentially // associates asset file names with the tensors to which the asset file names // should be fed. repeated AssetFileDef asset_file_defs = 8; // SaverDef including the information required for saving and restoring // variables. This field is not set if there are no variables in the exported
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 06:12:59 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc
TF_ASSIGN_OR_RETURN(const llvm::SmallVector<AssetFileDef> asset_file_defs, RunExportPasses(export_opts, *ctx, module_op)); return ConvertMlirModuleToExportedModel( module_op, checkpoint_dir, function_aliases, {asset_file_defs.begin(), asset_file_defs.end()}); } absl::StatusOr<ExportedModel> ExportCalibrationModel(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.h
// "tf_saved_model.index_path", if the bound input is attached to the // `tf_saved_model::AssetOp`. // * Strips the "assets/" prefix of the filename when setting it to // `AssetFileDef`. FailureOr<SmallVector<tensorflow::AssetFileDef>> ConvertAssetArgs( ModuleOp module_op); } // namespace mlir::quant
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 01:45:41 UTC 2023 - 1.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.cc
absl::Span<const AssetFileDef> assets, std::unique_ptr<Asset>* output) { int asset_index = asset.asset_file_def_index(); if (asset_index >= assets.size()) { return errors::FailedPrecondition( "SavedAsset contained asset index ", asset_index, " but AssetFileDef only contains ", assets.size(), " # of assets"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 12 19:17:46 UTC 2023 - 24K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.h
Status LoadSavedAsset(ImmediateExecutionContext* ctx, const SavedAsset& asset, const std::string& saved_model_dir, absl::Span<const AssetFileDef> assets, std::unique_ptr<Asset>* output); // Creates a TFConcreteFunction from a SavedConcreteFunction. Status LoadTFConcreteFunction( const SavedConcreteFunction& saved_concrete_function,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 13 04:18:52 UTC 2022 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
saver_def=_get_saver_def_or_none(exported_model), checkpoint_dir=exported_model.checkpoint_dir, function_aliases=exported_model.function_aliases, asset_file_defs=exported_model.asset_file_defs, ) _copy_assets(src_saved_model_path, dst_saved_model_path) # Dummy value to indicate successful run, as `None` would indicate error. See # comments in `NotNoneT`. return True
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
SavedModelSignatureDefImporterLite::ConvertAssets() { std::vector<AssetFileDef> asset_file_defs; TF_RETURN_IF_ERROR( internal::GetAssetFileDefs(input_.meta_graph_def(), &asset_file_defs)); std::vector<AssetInfo> results; results.reserve(asset_file_defs.size()); mlir::OpBuilder builder(module_->getBodyRegion());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt
} } } collection_def { key: "saved_model_assets" value { any_list { value { type_url: "type.googleapis.com/tensorflow.AssetFileDef" value: "\n\t\n\007Const:0\022\007foo.txt" } } } } collection_def { key: "trainable_variables" value { bytes_list {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 26 01:10:27 UTC 2017 - 46.9K bytes - Viewed (0)