Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for get_graph (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. subprojects/core/src/test/groovy/org/gradle/internal/build/PlannedNodeGraphTest.groovy

            dependsOn(task3, [task4])
            dependsOn(transform1, [task4])
    
            when:
            collector.collectNodes([task1, task2, task3, task4, transform1])
            def graph = collector.getGraph()
            def nodes = graph.getNodes(PlannedNodeGraph.DetailLevel.LEVEL1_TASKS) as List<TestPlannedNode>
            then:
            nodes.size() == 4
            nodes*.nodeIdentity*.nodeType =~ [NodeType.TASK]
            verifyAll {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 21 13:11:56 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/TestPageGenerator.java

                    renderExecutions();
                }
    
                private void renderExecutions() {
                    h3().text("Executions for commit " + Git.current().getCommitId()).end();
                    getGraphs(testHistory).forEach(graph -> graph.render(this));
                }
            };
        }
        // @formatter:on
    
        private static class Chart {
            private String field;
            private String label;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top