- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for get_graph (0.31 sec)
-
tensorflow/cc/saved_model/loader.h
}; // Restore variable and resources in the SavedModel export dir for the // indicated metagraph. // The recommended way to load a saved model is to call LoadSavedModel, // which provides an already initialized Metagraph, Session, and DebugInfo. Status RestoreSession(const RunOptions& run_options, const MetaGraphDef& meta_graph, const string& export_dir, std::unique_ptr<Session>* session);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 18:28:37 UTC 2023 - 6K bytes - Viewed (0) -
tensorflow/cc/saved_model/experimental/public/saved_model_api.h
// to contain a single Metagraph (as for those exported from TF2's // `tf.saved_model.save`). If tags != nullptr, we load the metagraph // matching the tags: // https://github.com/tensorflow/tensorflow/blob/428cdeda09aef81e958eeb274b83d27ad635b57b/tensorflow/core/protobuf/meta_graph.proto#L50-L56 // status - Set to OK on success and an appropriate error on failure.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 04 00:45:47 UTC 2020 - 6.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting.cc
// 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. graph_regularization::SimpleDelete(*metagraph->mutable_graph_def());
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/c/experimental/saved_model/public/saved_model_api.h
// to achieve ABI stability. typedef struct TF_SavedModel TF_SavedModel; // Load a SavedModel from `dirname`. We expect the SavedModel to contain a // single Metagraph (as for those exported from TF2's `tf.saved_model.save`). // // Params: // dirname - A directory filepath that the SavedModel is at. // ctx - A TFE_Context containing optional load/TF runtime options.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 04 00:45:47 UTC 2020 - 5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java
return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.compile); } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathRuntime)) { return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.runtime); } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathTest)) { return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.test);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 5.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.h
Status ValidateSingleConcreteFunction(const SavedFunction& saved_function); // Walks through the SavedObjectGraph in metagraph, and restores all nodes // (except "UserDefinedObjects") with their corresponding type in // "PartiallyRevivedObjects". Status PartiallyReviveSavedModelObjects(const MetaGraphDef& metagraph, ImmediateExecutionContext* context,
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/cc/saved_model/loader.cc
const MetaGraphDef& meta_graph, std::unique_ptr<Session>* session) { Session* session_p = nullptr; TF_RETURN_IF_ERROR(NewSession(session_options, &session_p)); session->reset(session_p); TF_RETURN_IF_ERROR(ValidateSavedTensors(meta_graph.graph_def())); return (*session)->Create(meta_graph.graph_def()); }
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/stablehlo/cc/saved_model_import.cc
const std::unordered_set<std::string>& tags) { tensorflow::MetaGraphDef meta_graph; TF_RETURN_IF_ERROR(tensorflow::ReadMetaGraphDefFromSavedModel( saved_model_path, tags, &meta_graph)); absl::flat_hash_map<FunctionName, FunctionAlias> function_aliases( meta_graph.meta_info_def().function_aliases().begin(), meta_graph.meta_info_def().function_aliases().end()); return function_aliases; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 6.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader_util.cc
} Status GetAssetFileDefs(const MetaGraphDef& meta_graph_def, std::vector<AssetFileDef>* asset_file_defs) { // With SavedModel v2, we write asset file def into metagraph instead of // collection, so read from metagraph first. if (meta_graph_def.asset_file_def_size() > 0) { for (const auto& asset : meta_graph_def.asset_file_def()) { asset_file_defs->push_back(asset); } return absl::OkStatus();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 10 10:25:28 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.cc
// "Value" attribute. NodeAttrMap node_attr_map = NodeToAttrMap(metagraph.graph_def()); // These are needed for creating "Assets", by looking up their filenames. std::vector<AssetFileDef> assets; TF_RETURN_IF_ERROR(GetAssetFileDefs(metagraph, &assets)); // Signatures are needed for determining whether a function is a // SignatureDefFunction or not.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 12 19:17:46 UTC 2023 - 24K bytes - Viewed (0)