- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for MetaGraphDef (0.17 sec)
-
tensorflow/compiler/mlir/tf_mlir_translate_main.cc
llvm::cl::value_desc("dir")); // NOLINTNEXTLINE static llvm::cl::opt<std::string> saved_model_tags( "tf-savedmodel-tags", llvm::cl::desc("Tags used to indicate which MetaGraphDef to import, " "separated by ','"), llvm::cl::init("serve")); // NOLINTNEXTLINE static llvm::cl::opt<std::string> saved_model_exported_names( "tf-savedmodel-exported-names",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 7K 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/tools/freeze_saved_model_test.cc
void AddSignatureDefToSavedModelBundle(const SignatureDef& signature_def, const string& key, SavedModelBundle* saved_model_bundle) { MetaGraphDef* meta_graph_def = &saved_model_bundle->meta_graph_def; (*meta_graph_def->mutable_signature_def())[key] = signature_def; } // Adds an initialized session to `saved_model_bundle` using `graph_def` and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 07 13:30:31 UTC 2022 - 21.7K bytes - Viewed (0) -
tensorflow/cc/tools/freeze_saved_model.cc
for (const string& output_tensor_name : outputs) { nodes_to_visit.push(GetNodeNameFromTensorName(output_tensor_name)); } // We do a traversal backwards from the outputs specified in the MetaGraphDef. while (!nodes_to_visit.empty()) { const string node_name = nodes_to_visit.front(); nodes_to_visit.pop(); if (reachable_node_names->find(node_name) != reachable_node_names->end()) { continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 11 08:05:36 UTC 2023 - 11.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.cc
llvm::cl::value_desc("dir")); // NOLINTNEXTLINE opt<std::string> saved_model_tags( "tf-savedmodel-tags", llvm::cl::desc("Tags used to indicate which MetaGraphDef to import, " "separated by ','"), llvm::cl::init("serve")); // NOLINTNEXTLINE opt<std::string> saved_model_exported_names( "tf-savedmodel-exported-names",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 20:53:17 UTC 2024 - 7.9K 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/quantization/tensorflow/quantization_options.proto
// or ambiguity in this unit-wise precision, our quantizer will raise an // error. repeated UnitWiseQuantizationSpec unit_wise_quantization_specs = 17; // (TF1 SavedModel only) Collection of tags identifying the MetaGraphDef // within the SavedModel to analyze. If not specified, ["serve"] is used. repeated string tags = 5; // Sequence of keys identifying SignatureDef containing inputs and outputs.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 19 06:31:19 UTC 2024 - 9.2K 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/cc/saved_model/saved_model_bundle_test.cc
io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); TF_ASSERT_OK(LoadSavedModel(session_options, run_options, export_dir, {kSavedModelTagServe}, &bundle)); MetaGraphDef actual_metagraph; TF_ASSERT_OK(ReadMetaGraphDefFromSavedModel(export_dir, {kSavedModelTagServe}, &actual_metagraph)); EXPECT_EQ(actual_metagraph.DebugString(),
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/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)