Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for Edges (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      graph_->AddEdge(input_node_it->second, 0, dst_node, dst_index);
      return absl::OkStatus();
    }
    
    Status Exporter::AddEdge(Operation* inst) {
      // For tf_executor.fetch, add only its data edges. Control edges are captured
      // later.
      if (auto fetch = llvm::dyn_cast<mlir::tf_executor::FetchOp>(inst)) {
        for (auto operand_and_idx : llvm::enumerate(fetch.getOperands())) {
          Value operand = operand_and_idx.value();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      graph_->AddEdge(input_node_it->second, 0, dst_node, dst_index);
      return absl::OkStatus();
    }
    
    Status Exporter::AddEdge(Operation* inst) {
      // For tf_executor.fetch, add only its data edges. Control edges are captured
      // later.
      if (auto fetch = llvm::dyn_cast<mlir::tf_executor::FetchOp>(inst)) {
        for (auto operand_and_idx : llvm::enumerate(fetch.getOperands())) {
          Value operand = operand_and_idx.value();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. src/internal/profile/graph.go

    			*em = (*em)[:len(*em)-1]
    			return
    		}
    	}
    }
    
    // Edge contains any attributes to be represented about edges in a graph.
    type Edge struct {
    	Src, Dest *Node
    	// The summary weight of the edge
    	Weight, WeightDiv int64
    
    	// residual edges connect nodes that were connected through a
    	// separate node, which has been removed from the report.
    	Residual bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

      // Check for undeclared outputs before Encapsulation, so we can give a better
      // error message.
      // TODO(phawkins): merge this with the encapsulation code to avoid the extra
      // O(n) pass over the edges.
      for (const Edge* e : (*graph)->edges()) {
        if (!e->IsControlEdge() &&
            e->src()->attrs().Find(kXlaClusterIdAttr) != nullptr &&
            e->dst()->attrs().Find(kXlaClusterIdAttr) == nullptr &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            }
    
            private visitEdges(NodeBuilder node, Set<NodeBuilder> seenNodes, Set<EdgeBuilder> edges) {
                for (EdgeBuilder edge : node.deps) {
                    edges.add(edge)
                    if (seenNodes.add(edge.selected)) {
                        visitEdges(edge.selected, seenNodes, edges)
                    }
                }
            }
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

                    << (*graph)->num_edges();
            is_module_updated = true;
          }
        } else if (pass_state == MlirOptimizationPassState::FallbackEnabled) {
          VLOG(2) << "Run MLIR graph optimization pass with fallback: "
                  << StringRefToView(name);
          VLOG(2) << "Graph #nodes " << (*graph)->num_nodes() << " #edges "
                  << (*graph)->num_edges();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/initorder.go

    			M[obj] = &graphNode{obj: obj}
    		}
    	}
    
    	// compute edges for graph M
    	// (We need to include all nodes, even isolated ones, because they still need
    	// to be scheduled for initialization in correct order relative to other nodes.)
    	for obj, n := range M {
    		// for each dependency obj -> d (= deps[i]), create graph edges n->s and s->n
    		for d := range objMap[obj].deps {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/go/types/initorder.go

    			M[obj] = &graphNode{obj: obj}
    		}
    	}
    
    	// compute edges for graph M
    	// (We need to include all nodes, even isolated ones, because they still need
    	// to be scheduled for initialization in correct order relative to other nodes.)
    	for obj, n := range M {
    		// for each dependency obj -> d (= deps[i]), create graph edges n->s and s->n
    		for d := range objMap[obj].deps {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. tensorflow/cc/framework/gradients.cc

        auto const& pair = visited.insert(nout.node());
        if (pair.second) {
          queue.push_back(std::make_pair(nout.node(), static_cast<Node*>(nullptr)));
        }
      }
      // BFS from nodes in 'inputs_' along out edges for the entire graph. Internal
      // output nodes are recorded during the traversal. All nodes that are output
      // nodes but not internal output nodes are considered the frontier of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

      ASSERT_EQ(f1_rewritten->signature().output_arg_size(), 1);
      EXPECT_EQ(f1_rewritten->signature().output_arg(0).type(), DT_BOOL);
    
      // Check node "if" input and output edges.
      auto node_name_index = g->BuildNodeNameIndex();
      const Node *if_node = node_name_index.at("if");
      ASSERT_NE(if_node, nullptr);
      const Node *input_node;
      TF_CHECK_OK(if_node->input_node(1, &input_node));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top