- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 275 for graph (0.02 sec)
-
android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
} @Test public void copyOfImmutableValueGraph_optimized() { ValueGraph<String, Integer> graph1 = ImmutableValueGraph.copyOf(ValueGraphBuilder.directed().<String, Integer>build()); ValueGraph<String, Integer> graph2 = ImmutableValueGraph.copyOf(graph1); assertThat(graph2).isSameInstanceAs(graph1); } @Test public void incidentEdgeOrder_stable() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java
* v1< * v3-v4 * */ graph = new MetadataGraph(4, 3); v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0")); graph.setEntry(v1); v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0")); v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0")); v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0")); // v1-->v2
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphMutationTest.java
MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); assertThat(graph.nodes()).isEmpty(); assertThat(graph.edges()).isEmpty(); AbstractGraphTest.validateGraph(graph); while (graph.nodes().size() < NUM_NODES) { graph.addNode(gen.nextInt(NODE_POOL_SIZE)); } ArrayList<Integer> nodeList = new ArrayList<>(graph.nodes());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 18 16:17:46 UTC 2017 - 4.2K bytes - Viewed (0) -
tensorflow/c/c_api.h
// The new graph construction API, still under development. // Represents a computation graph. Graphs may be shared between sessions. // Graphs are thread-safe when used as directed below. typedef struct TF_Graph TF_Graph; // Return a new graph object. TF_CAPI_EXPORT extern TF_Graph* TF_NewGraph(void); // Destroy an options object. Graph will be deleted once no more
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/TraverserTest.java
graph.putEdge("a", "b"); Traverser.forTree(graph); // Does not throw } @Test public void forTree_withUndirectedGraph_throws() throws Exception { MutableGraph<String> graph = GraphBuilder.undirected().build(); graph.putEdge("a", "b"); assertThrows(IllegalArgumentException.class, () -> Traverser.forTree(graph)); } @Test @SuppressWarnings("CheckReturnValue")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
graph.putEdge("a", "b"); Traverser.forTree(graph); // Does not throw } @Test public void forTree_withUndirectedGraph_throws() throws Exception { MutableGraph<String> graph = GraphBuilder.undirected().build(); graph.putEdge("a", "b"); assertThrows(IllegalArgumentException.class, () -> Traverser.forTree(graph)); } @Test @SuppressWarnings("CheckReturnValue")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 47.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/IncidentEdgeSet.java
final N node; final BaseGraph<N> graph; IncidentEdgeSet(BaseGraph<N> graph, N node) { this.graph = graph; this.node = node; } @Override public boolean remove(@CheckForNull Object o) { throw new UnsupportedOperationException(); } @Override public int size() { if (graph.isDirected()) { return graph.inDegree(node) + graph.outDegree(node)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 2.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// A TF_ExecutionContext stores knowledge about how to execute an operation. // E.g. it could know whether we're in eager mode or graph mode, keeps track // of gradient tapes, etc. typedef struct TF_ExecutionContext TF_ExecutionContext; // A TF_AbstractTensor is an input to an operation. E.g. it could be a union // type of eager and graph tensors. It is also the result of executing an // operation. typedef struct TF_AbstractTensor TF_AbstractTensor;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sun Oct 24 11:27:00 UTC 2021 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
assertThat(graph.nodes()).containsExactly(N1, N5, N4, N2, N3).inOrder(); assertThat(graph.adjacentNodes(N1)).containsExactly(N4, N5); assertThat(graph.adjacentNodes(N2)).containsExactly(N3); assertThat(graph.adjacentNodes(N3)).containsExactly(N2); assertThat(graph.adjacentNodes(N4)).containsExactly(N1); assertThat(graph.adjacentNodes(N5)).containsExactly(N1); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 12.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Network.java
* terms</a>): * * <ul> * <li>directed graphs * <li>undirected graphs * <li>graphs that do/don't allow parallel edges * <li>graphs that do/don't allow self-loops * <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered * <li>graphs whose edges are unique objects * </ul> * * <h3>Building a {@code Network}</h3> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 10 15:41:27 UTC 2024 - 22.4K bytes - Viewed (0)