Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for outEdges (0.3 sec)

  1. tensorflow/compiler/jit/node_matchers.cc

    class OutEdgeMatcher : public ::testing::MatcherInterface<OutEdge> {
     public:
      OutEdgeMatcher(::testing::Matcher<const Node*> src_matcher, int src_oidx)
          : src_matcher_(std::move(src_matcher)), src_oidx_(src_oidx) {}
    
      bool MatchAndExplain(
          OutEdge out_edge,
          ::testing::MatchResultListener* listener) const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/shape_inference.cc

              graph->AddControlEdge(var_node, const_node);
              std::vector<const Edge*> out_edges(n->out_edges().begin(),
                                                 n->out_edges().end());
              for (const Edge* e : out_edges) {
                if (e->IsControlEdge()) {
                  graph->AddControlEdge(const_node, e->dst());
                  graph->RemoveEdge(e);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    		delete(parent.Out, cur)
    
    		// Reconfigure every edge from the current node to now begin at the parent.
    		for _, outEdge := range cur.Out {
    			child := outEdge.Dest
    
    			delete(child.In, cur)
    			child.In[parent] = outEdge
    			parent.Out[child] = outEdge
    
    			outEdge.Src = parent
    			outEdge.Residual = true
    			// If the edge from the parent to the current node and the edge from the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

          deps->insert(edge->src());
        }
      }
    }
    
    // Adds the control outputs of `node` to `*deps`.
    void AddControlOutputs(const Node& node, absl::flat_hash_set<Node*>* deps) {
      for (const Edge* edge : node.out_edges()) {
        if (edge->IsControlEdge()) {
          deps->insert(edge->dst());
        }
      }
    }
    
    // Rewrite function to be passed to EncapsulateSubgraphsInFunctions that sorts
    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. tensorflow/compiler/jit/partially_decluster_pass.cc

        TF_RETURN_IF_ERROR(MemoryTypesForNode(graph.op_registry(), device_type,
                                              n->def(), &input_mtypes,
                                              &output_mtypes));
        for (const Edge* e : n->out_edges()) {
          Node* dst = e->dst();
    
          if (e->IsControlEdge()) {
            continue;
          }
    
          bool edge_incurs_extra_device_to_host_copy;
          if (output_mtypes[e->src_output()] == DEVICE_MEMORY) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/encapsulate_util.cc

        // Change all usage node to use the original node instead.
        Node* original_node = iter->second;
        std::vector<const Edge*> control_edges;
        std::vector<OutEdgeInfo> data_edges;
        for (auto e : n->out_edges()) {
          if (e->IsControlEdge()) {
            control_edges.push_back(e);
          } else {
            data_edges.push_back({e->dst(), e->src_output(), e->dst_input()});
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

          has_control_edge_from_recv_at_host = true;
        }
      }
      EXPECT_TRUE(has_control_edge_from_recv_at_host);
      bool has_control_edge_to_send_from_host = false;
      for (auto e : add_node->out_edges()) {
        if (e->IsControlEdge() && e->dst() == send_from_host) {
          has_control_edge_to_send_from_host = true;
        }
      }
      EXPECT_TRUE(has_control_edge_to_send_from_host);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/gradients.cc

      // output nodes, and thus our stop backprop nodes.
      while (!queue.empty()) {
        std::pair<Node*, Node*> p = queue.front();
        Node* n = p.first;
        queue.pop_front();
        for (const Edge* e : n->out_edges()) {
          // If a node is not reachable from outputs_, we can stop.
          if (e->IsControlEdge() || !reachable_nodes[e->dst()->id()]) continue;
    
          auto const& pair = visited.insert(e->dst());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

                                                     Node* static_shaped_slice) {
      absl::InlinedVector<const Edge*, 6> edges_to_remove;
      std::vector<const Edge*> slice_out_edges;
      absl::c_copy(slice->out_edges(), std::back_inserter(slice_out_edges));
      for (const Edge* e : slice_out_edges) {
        DCHECK(e->src_output() == 0 || e->src_output() == Graph::kControlSlot);
    
        int src_output = e->src_output();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            }
    
            orderedNodeConnectionsBuilder.add(new NodeConnection.Pred<>(predecessor));
            predecessorCount++;
          } else { // incidentEdge is an outEdge
            checkArgument(incidentEdge.nodeU().equals(thisNode));
    
            N successor = incidentEdge.nodeV();
            V value = successorNodeToValueFn.apply(successor);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top