Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for AddEdge (0.09 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        addEdge(N1, N1, E11);
        addEdge(N1, N2, E12);
        assertThat(network.adjacentEdges(E11)).containsExactly(E12);
      }
    
      @Test
      public void edgesConnecting_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11);
        addEdge(N1, N2, E12);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

                    if (vertex != null) {
                        addEdge(projectVertex, vertex, project, projectMap, force, safe);
                    }
                } else {
                    for (Vertex vertex : vertices.values()) {
                        addEdge(projectVertex, vertex, project, projectMap, force, safe);
                    }
                }
            }
        }
    
        private void addEdge(
                Vertex fromVertex,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:02:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

      TF_CHECK_OK(scope.DoShapeInference(launch));
      scope.graph()->AddEdge(a.node(), 0, launch, 0);
      scope.graph()->AddEdge(b.node(), 0, launch, 1);
      scope.graph()->AddEdge(c.node(), 0, launch, 2);
      scope.graph()->AddEdge(d.node(), 0, launch, 3);
      scope.graph()->AddEdge(u.node(), 0, launch, 4);
      scope.graph()->AddEdge(v.node(), 0, launch, 5);
      scope.graph()->AddEdge(w.node(), 0, launch, 6);
    
      auto out0 =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/stackcheck.go

    	// recording the graph, its out-edges.
    	var edges []stackCheckEdge
    	maxHeight := 0
    	ctxt := sc.ctxt
    	// addEdge adds a stack growth out of this function to
    	// function "target" or, if target == 0, a local stack growth
    	// within the function.
    	addEdge := func(growth int, target loader.Sym) {
    		if graph {
    			edges = append(edges, stackCheckEdge{growth, target})
    		}
    		height := growth
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            {
                ArtifactMetadata md = node.getMd();
                MetadataGraphEdge e =
                        new MetadataGraphEdge(md.version, md.resolved, md.artifactScope, md.artifactUri, depth, pomOrder);
                addEdge(parentVertex, vertex, e);
            } else {
                entry = vertex;
            }
    
            MetadataTreeNode[] kids = node.getChildren();
            if (kids == null || kids.length < 1) {
                return;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Oct 05 18:41:13 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/shape_inference_test.cc

        auto sink = ops::Identity(scope.WithOpName("sink"), exit);
    
        // Remove the dummy node and add the loop backedge.
        scope.graph()->RemoveNode(dummy.node());
        scope.graph()->AddEdge(next_iteration.node(), 0, merge.output.node(), 1);
    
        TF_EXPECT_OK(scope.ToGraph(&graph));
      }
    
      GraphShapeInfo shape_info;
      TF_ASSERT_OK(InferShapes(&graph, /*arg_shapes=*/{}, /*fnlib_def=*/nullptr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

          << "Use of BlockArgument encounted before def!";
      // For argument, there is only one result output, so the index is always 0.
      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.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

          << "Use of BlockArgument encounted before def!";
      // For argument, there is only one result output, so the index is always 0.
      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.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    		}
    	}
    	return nodelets
    }
    
    // addEdge generates a graph edge in DOT format.
    func (b *builder) addEdge(edge *Edge, from, to int, hasNodelets bool) {
    	var inline string
    	if edge.Inline {
    		inline = `\n (inline)`
    	}
    	w := b.config.FormatValue(edge.WeightValue())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/encapsulate_util.cc

          TF_ASSIGN_OR_RETURN(placeholder_node, g->AddNode(placeholder_def));
          placeholders[placeholder_index] = placeholder_node;
        } else {
          placeholder_node = iter->second;
        }
        g->AddEdge(placeholder_node, 0, dst, dst_input);
    
        // Replace `e->dst()` because its input node changed.
        NodeDef new_def = dst->def();
        *new_def.mutable_input(dst_input) = placeholder_node->name();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top