- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for MetaGraphDef (0.12 sec)
-
tensorflow/cc/saved_model/loader.cc
// An empty init_op_name indicates that there are no init ops to run. Status RunInitOp(const RunOptions& run_options, const string& export_dir, const MetaGraphDef& meta_graph_def, const std::vector<AssetFileDef>& asset_file_defs, Session* session, const string& init_op_name) { if (!init_op_name.empty()) {
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/quantization/tensorflow/python/py_function_lib.py
the representative dataset for the actual data provided for inference. Args: model_dir: Path to SavedModel directory. tags: Collection of tags identifying the MetaGraphDef within the SavedModel. representative_dataset_map: A map where signature keys are mapped to corresponding representative datasets. Raises:
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/quantization/stablehlo/quantization_config.proto
message WeightOnlyPtqPreset {} // Metadata specific to the input TensorFlow SavedModel, which may be required // to identify the specific MetaGraphDef to quantize, for example. // Next ID: 2 message TfSavedModelConfig { // Set of tags that uniquely identify the `MetaGraphDef` existing in the // input SavedModel. repeated string tags = 1; } // Configures the graph transformation pipeline for quantization.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 14.3K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting.cc
TF_RETURN_IF_ERROR(ReadBinaryProto(Env::Default(), pb_file, &saved_model)); // Create a copy of `metagraph` which will be used and mutated for fingerprint // computation. FingerprintDef fingerprint_def; MetaGraphDef* metagraph = saved_model.mutable_meta_graphs(0); // Set fingerprint field #1. fingerprint_def.set_saved_model_checksum(HashSavedModel(saved_model)); // Set fingerprint field #2.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 26 00:24:44 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc
absl::string_view saved_model_dir, const std::unordered_set<std::string>& tags, absl::Span<std::string> exported_names, mlir::MLIRContext* context, MLIRImportOptions options) { MetaGraphDef meta_graph_def; auto status = ReadMetaGraphDefFromSavedModel(saved_model_dir, tags, &meta_graph_def); if (!status.ok()) { LOG(ERROR) << "Failed to load saved model v1 '" << saved_model_dir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 11:51:44 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py
Args: saved_model_path: Path to the saved model. signature_keys: List of keys identifying SignatureDef to retrieve. If None, retrieve all except the init signature. tags: Set of tags identifying the MetaGraphDef within the SavedModel. Returns: A map from signature_key to its SignatureDef. """ if tags is None: tags = {tag_constants.SERVING} loader = saved_model_loader.SavedModelLoader(saved_model_path)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py
Returns: A SavedModel object with TF quantization applied. Raises: ValueError: when representative_dataset is not provided for non-QAT model. RuntimeError: When a MetaGraphDef could not be found associated with `tags` in the SavedModel. """ logging.info( 'Running static range quantization on model: %s', src_saved_model_path )
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 34.2K bytes - Viewed (0)