- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 58 for meta_graphs (0.44 sec)
-
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/cc/saved_model/loader_util.h
#ifndef TENSORFLOW_CC_SAVED_MODEL_LOADER_UTIL_H_ #define TENSORFLOW_CC_SAVED_MODEL_LOADER_UTIL_H_ #include <string> #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/protobuf/meta_graph.pb.h" namespace tensorflow { namespace internal { // A SavedModel may store the name of the initialization op to run in the // in the SignatureDef (v2) or a collection (v1). If an init_op collection
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 12 20:05:11 UTC 2020 - 1.5K 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) -
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.h
// "signatures_map", which is keyed by the "signature" key // (https://github.com/tensorflow/tensorflow/blob/372918decee7f558b3c194b04f77c20dcc679a31/tensorflow/core/protobuf/meta_graph.proto#L89), // and maps to the SignatureDefFunction node in the SavedObjectGraph. struct PartiallyRevivedObjects { gtl::FlatMap<int, std::unique_ptr<Variable>> variables; gtl::FlatMap<int, std::unique_ptr<Asset>> assets;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 23:21:36 UTC 2020 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.h
#include "mlir/IR/BuiltinOps.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project #include "tensorflow/core/protobuf/meta_graph.pb.h" namespace mlir::quant { // Converts arguments of the @main function that are bound to // `tf_saved_model::AssetOp`s into regular tensor args. Returns `AsestFileDef`s // that associates the arg with the asset.
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/signature_def_function.h
// the input/output names of the SignatureDef: // https://github.com/tensorflow/tensorflow/blob/9bcefa44cd335c1db4a703a13da09f29ae1bbdb2/tensorflow/core/protobuf/meta_graph.proto#L318-L321 class SignatureDefFunction { public: virtual ~SignatureDefFunction() = default; // Creates a "Call" Op used to execute the function.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 17 23:03:48 UTC 2020 - 3.3K bytes - Viewed (0) -
tensorflow/cc/saved_model/bundle_v2.h
#include <memory> #include <string> #include "absl/container/flat_hash_set.h" #include "tensorflow/core/framework/graph_debug_info.pb.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/protobuf/meta_graph.pb.h" #include "tensorflow/core/protobuf/saved_object_graph.pb.h" #include "tensorflow/core/protobuf/trackable_object_graph.pb.h" #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h" namespace tensorflow {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 20 03:32:59 UTC 2023 - 3.4K bytes - Viewed (0)