Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for in_edges (0.11 sec)

  1. tensorflow/c/c_api.cc

      return {ToOperation(edge->src()), edge->src_output()};
    }
    
    void TF_OperationAllInputs(TF_Operation* oper, TF_Output* inputs,
                               int max_inputs) {
      for (auto* edge : oper->node.in_edges()) {
        if (edge->dst_input() >= 0 && edge->dst_input() < max_inputs) {
          inputs[edge->dst_input()] = {ToOperation(edge->src()),
                                       edge->src_output()};
        }
      }
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                .contains(inEdge);
            if (network.isDirected()) {
              assertThat(network.incidentNodes(inEdge).target()).isEqualTo(node);
            }
          }
    
          for (E outEdge : sanityCheckSet(network.outEdges(node))) {
            assertThat(network.incidentEdges(node)).contains(outEdge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N2);
        Set<String> inEdges = network.inEdges(N2);
        assertThrows(UnsupportedOperationException.class, () -> inEdges.add(E12));
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactlyElementsIn(inEdges);
      }
    
      @Override
      @Test
      public void outEdges_checkReturnedSetMutability() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N2);
        Set<String> inEdges = network.inEdges(N2);
        assertThrows(UnsupportedOperationException.class, () -> inEdges.add(E12));
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactlyElementsIn(inEdges);
      }
    
      @Override
      @Test
      public void outEdges_checkReturnedSetMutability() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

          }
        }
    
        // Verify edges
        for (const EdgeSpec& e : e_edges) {
          ASSERT_TRUE(a_edges.find(e) != a_edges.end())
              << "Failed to find expected edge " << e.ToString()
              << " in fdef: " << fdef.DebugString();
        }
        for (const EdgeSpec& e : c_edges) {
          ASSERT_TRUE(a_edges.find(e) != a_edges.end())
              << "Failed to find expected control edge " << e.ToString()
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/AbstractNetwork.java

      public Set<E> edgesConnecting(N nodeU, N nodeV) {
        Set<E> outEdgesU = outEdges(nodeU);
        Set<E> inEdgesV = inEdges(nodeV);
        return nodePairInvalidatableSet(
            outEdgesU.size() <= inEdgesV.size()
                ? unmodifiableSet(Sets.filter(outEdgesU, connectedPredicate(nodeU, nodeV)))
                : unmodifiableSet(Sets.filter(inEdgesV, connectedPredicate(nodeV, nodeU))),
            nodeU,
            nodeV);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/AbstractNetwork.java

      public Set<E> edgesConnecting(N nodeU, N nodeV) {
        Set<E> outEdgesU = outEdges(nodeU);
        Set<E> inEdgesV = inEdges(nodeV);
        return nodePairInvalidatableSet(
            outEdgesU.size() <= inEdgesV.size()
                ? unmodifiableSet(Sets.filter(outEdgesU, connectedPredicate(nodeU, nodeV)))
                : unmodifiableSet(Sets.filter(inEdgesV, connectedPredicate(nodeV, nodeU))),
            nodeU,
            nodeV);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      @Override
      @Test
      public void inEdges_checkReturnedSetMutability() {
        addNode(N2);
        Set<String> inEdges = network.inEdges(N2);
        assertThrows(UnsupportedOperationException.class, () -> inEdges.add(E12));
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactlyElementsIn(inEdges);
      }
    
      @Override
      @Test
      public void outEdges_checkReturnedSetMutability() {
        addNode(N1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/ForwardingNetwork.java

        return delegate().successors(node);
      }
    
      @Override
      public Set<E> incidentEdges(N node) {
        return delegate().incidentEdges(node);
      }
    
      @Override
      public Set<E> inEdges(N node) {
        return delegate().inEdges(node);
      }
    
      @Override
      public Set<E> outEdges(N node) {
        return delegate().outEdges(node);
      }
    
      @Override
      public EndpointPair<N> incidentNodes(E edge) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            }
    
            checkEdges(count);
        }
    
        private void checkEdges(int nEdges) {
            if (incidentEdges == null) {
                incidentEdges = new HashMap<>(nEdges);
            }
            if (excidentEdges == null) {
                excidentEdges = new HashMap<>(nEdges);
            }
        }
        // ------------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top