- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for meta_graphs (0.15 sec)
-
tensorflow/cc/saved_model/fingerprinting_utils.cc
field_checksum = FingerprintCat64(field_checksum, hash); } } } return field_checksum; } inline RepeatedPtrField<FieldIndex> GraphDefFieldTags() { // SavedModel.meta_graphs[0].graph_def FieldIndex meta_graph_field_tag; meta_graph_field_tag.set_field(2); FieldIndex meta_graph_index_field_tag; meta_graph_index_field_tag.set_index(0); FieldIndex graph_def_field_tag;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 20.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py
saved_model_proto = saved_model_loader.parse_saved_model(saved_model_path) for meta_graph in saved_model_proto.meta_graphs: if any( node.op.startswith('FakeQuant') for node in meta_graph.graph_def.node ): return True for function in meta_graph.graph_def.library.function: if any(node.op.startswith('FakeQuant') for node in function.node_def): return True
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 34.2K 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/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/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/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.cc
#include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/protobuf/meta_graph.pb.h" namespace py = pybind11; namespace { using ::tensorflow::SignatureDef; using ::tensorflow::quantization::ExportedModel; using ::tensorflow::quantization::PyFunctionLibrary;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 09 06:33:29 UTC 2024 - 12K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils_test.cc
#include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/platform/path.h" #include "tensorflow/core/protobuf/meta_graph.pb.h" #include "tensorflow/core/protobuf/saved_object_graph.pb.h" #include "tensorflow/tools/proto_splitter/cc/util.h" #include "tensorflow/tools/proto_splitter/chunk.pb.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 15.2K bytes - Viewed (0) -
tensorflow/cc/tools/freeze_saved_model.cc
#include "tensorflow/core/framework/versions.pb.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/platform/statusor.h" #include "tensorflow/core/protobuf/meta_graph.pb.h" namespace tensorflow { namespace { // Gets tensor names from tensor_info and inserts them into the set of tensor // names. void GetTensorNamesFromTensorInfo(const TensorInfo& tensor_info,
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/c/experimental/saved_model/core/tf_saved_model_api.cc
#include "tensorflow/core/platform/macros.h" #include "tensorflow/core/platform/path.h" #include "tensorflow/core/platform/stringpiece.h" #include "tensorflow/core/platform/tstring.h" #include "tensorflow/core/protobuf/meta_graph.pb.h" #include "tensorflow/core/protobuf/saved_model.pb.h" #include "tensorflow/core/protobuf/saved_object_graph.pb.h" #include "tensorflow/core/protobuf/trackable_object_graph.pb.h" namespace tensorflow {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 09:34:33 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
with ops.Graph().as_default(), session.Session() as sess: meta_graph: meta_graph_pb2.MetaGraphDef = loader_impl.load( sess, tags, export_dir=model_dir ) for signature_key, repr_ds in representative_dataset_map.items(): sig_def = meta_graph.signature_def[signature_key] try: _run_function_for_calibration_graph_mode(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0)