Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 522 for _Graph (0.2 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

                  'Cannot find the output tensor with name %s in the graph.'
                  % tensor_info.name
              ) from exc
    
      return signature_def_map
    
    
    def _find_op(
        graph: ops.Graph, op_name: Optional[str]
    ) -> Optional[ops.Operation]:
      """Finds the operation with `op_name`.
    
      Args:
        graph: The graph to find from.
        op_name: Name of the node.
    
      Returns:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/partially_decluster_pass_test.cc

          wrapper.CreateGraphOptimizationPassOptions(graph);
    
      PartiallyDeclusterPass pass;
      return pass.Run(opt_options);
    }
    
    Node* FindNodeByName(const Graph& graph, const string& name) {
      for (Node* node : graph.nodes()) {
        if (node->name() == name) {
          return node;
        }
      }
      return nullptr;
    }
    
    bool GetInputsForNode(const Graph& graph, const string& node_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 23K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/split_into_island_per_op.mlir

      }
      func.return %graph#0, %graph#1 : tensor<*xi32>, tensor<i32>
    }
    
    // -----
    
    // Test that external functions aren't processed (used to crash).
    
    // CHECK-LABEL: func private @unused_external_func
    func.func private @unused_external_func()
    
    func.func @multiple_return(%arg0: tensor<*xi32>, %arg1: tensor<i32>) -> (tensor<*xi32>, tensor<*xi32>) {
      %graph:2 = tf_executor.graph {
        %island:3 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/scope.cc

    Scope Scope::NewRootScope() {
      Graph* graph = new Graph(OpRegistry::Global());
      ShapeRefiner* refiner =
          new ShapeRefiner(graph->versions(), graph->op_registry());
      return Scope(new Impl(graph, new Status, new Impl::NameMap, refiner,
                            /* disable_shape_inference */ false));
    }
    
    Scope Scope::DisabledShapeInferenceScope() {
      Graph* graph = new Graph(OpRegistry::Global());
      ShapeRefiner* refiner =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/dependency_resolution.adoc

    Dependency resolution is a process that consists of two phases, which are repeated until the dependency graph is complete:
    
    * When a new dependency is added to the graph, perform conflict resolution to determine which version should be added to the graph.
    * When a specific dependency, that is a module with a version, is identified as part of the graph, retrieve its metadata so that its dependencies can be added in turn.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/resource-device-inference.mlir

          : tensor<i32>, !tf_res,
            !tf_res
      }
      func.return %graph#0, %graph#1, %graph#2
         : tensor<i32>, !tf_res,
           !tf_res
    }
    
    // CHECK-LABEL: func @while_cond
    func.func @while_cond(
      %arg0: tensor<i32>,
      %arg1: !tf_res,
      %arg2: !tf_res) -> tensor<32xf32> {
      %graph = tf_executor.graph {
        // CHECK: tf_executor.island
        %island:2 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 16:01:45 UTC 2022
    - 18.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops.mlir

    // CHECK-LABEL: func @empty_graph
    func.func @empty_graph() {
      tf_executor.graph {
      }
      func.return
    
    // CHECK:      tf_executor.graph {
    // CHECK-NEXT:  tf_executor.fetch
    // CHECK-NEXT: }
    
    }
    
    // CHECK-LABEL: func @graph_with_fetch(%{{.*}}: tensor<*xf32>)
    func.func @graph_with_fetch(%0: tensor<*xf32>) -> tensor<*xf32> {
      %result = tf_executor.graph {
        tf_executor.fetch %0 : tensor<*xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 25.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_cluster_util.cc

    string DescribeCycle(const GraphCycles* cycles, const Graph& graph, int src,
                         int dst) {
      int32_t max_path_size = graph.num_node_ids() + 1;
      std::vector<int32> path(max_path_size);
      int32_t path_size = cycles->FindPath(dst, src, max_path_size, path.data());
      if (path_size == 0) {
        return "";
      }
    
      auto node_name = [&graph](int node_id) {
        if (!FastBoundsCheck(node_id, graph.num_node_ids())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

          VLOG(2) << "Run MLIR graph optimization pass: " << StringRefToView(name);
          VLOG(2) << "Graph #nodes " << (*graph)->num_nodes() << " #edges "
                  << (*graph)->num_edges();
          timings.Reset({kTfMlirCategory, name.str()});
          pass_status = pass_registration.pass->Run(
              function_name, config_proto, *module_ref, **graph, *flib_def);
          timings.ReportAndStop();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/executor_canonicalize.mlir

    // CHECK:      return %[[GRAPH]]#2, %[[GRAPH]]#1 : tensor<i1>, tensor<i1>
    
    
    // Test single graph with an island and executor ops is unmodified.
    // CHECK-LABEL: func @graph_with_island_and_executor_op
    // CHECK-SAME: (%[[ARG_0:[a-z0-9]*]]: tensor<i1>)
    func.func @graph_with_island_and_executor_op(%arg0 : tensor<i1>) -> (tensor<i1>, tensor<i1>) {
      %0:3 = tf_executor.graph {
        %1:4 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 13.6K bytes
    - Viewed (0)
Back to top