Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 522 for _Graph (0.11 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_graph.cc

    // into the list of outputs for the operation.
    class GraphTensor : public TracingTensorHandle {
     public:
      explicit GraphTensor(TF_Output output, TF_Graph* graph)
          : TracingTensorHandle(kGraph), output_(output), graph_(graph) {}
    
      tensorflow::DataType DataType() const override {
        return static_cast<tensorflow::DataType>(TF_OperationOutputType(output_));
      }
    
      tensorflow::Status Shape(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-default-attr.pbtxt

    A. Unique TensorFlower <******@****.***> 1591817060 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:32:15 UTC 2020
    - 12K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

            assertThat(graph.predecessors(node)).hasSize(graph.inDegree(node));
            assertThat(graph.successors(node)).hasSize(graph.outDegree(node));
          } else {
            int selfLoopCount = graph.adjacentNodes(node).contains(node) ? 1 : 0;
            assertThat(graph.degree(node)).isEqualTo(graph.adjacentNodes(node).size() + selfLoopCount);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Graphs.java

       */
      public static <N> Graph<N> transpose(Graph<N> graph) {
        if (!graph.isDirected()) {
          return graph; // the transpose of an undirected graph is an identical graph
        }
    
        if (graph instanceof TransposedGraph) {
          return ((TransposedGraph<N>) graph).graph;
        }
    
        return new TransposedGraph<>(graph);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/Graphs.java

       */
      public static <N> Graph<N> transpose(Graph<N> graph) {
        if (!graph.isDirected()) {
          return graph; // the transpose of an undirected graph is an identical graph
        }
    
        if (graph instanceof TransposedGraph) {
          return ((TransposedGraph<N>) graph).graph;
        }
    
        return new TransposedGraph<>(graph);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

                       std::unique_ptr<Graph>* result) {
      auto graph = std::make_unique<Graph>(OpRegistry::Global());
      TF_RETURN_IF_ERROR(s.ToGraph(graph.get()));
      FunctionLibraryDefinition flib_def(graph->op_registry(), fdef_lib);
    
      // Assign all nodes to the CPU device.
      static const char* kCpuDevice = "/job:localhost/replica:0/task:0/cpu:0";
      for (Node* n : graph->nodes()) {
        if (n->requested_device().empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

      Status status;
      Node* launch = scope.graph()->AddNode(def, &status);
      TF_CHECK_OK(status);
      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);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/graph/CachingDirectedGraphWalkerTest.groovy

            def values = walker.findValues()
    
            then:
            1 * graph.getNodeValues(1, _, _) >> { args -> args[1] << '1'; args[2] << 2 }
            1 * graph.getEdgeValues(1, 2, _) >> { args -> args[2] << '1->2' }
            1 * graph.getNodeValues(2, _, _) >> { args -> args[1] << '2'; args[2] << 3 }
            1 * graph.getEdgeValues(2, 3, _) >> { args -> args[2] << '2->3' }
            1 * graph.getNodeValues(3, _, _) >> { args -> args[1] << '3'; args[2] << 1 }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/resource_operation_safety_analysis_test.cc

      root.graph()->AddControlEdge(write_0, neutral_0);
      root.graph()->AddControlEdge(neutral_0, read_0);
      root.graph()->AddControlEdge(read_0, write_1);
      root.graph()->AddControlEdge(write_1, neutral_1);
      root.graph()->AddControlEdge(neutral_1, read_1);
    
      std::vector<std::pair<int, int>> incompatible_pairs;
      TF_ASSERT_OK(ComputeIncompatiblePairs(root.graph(), &incompatible_pairs));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 28 16:53:59 UTC 2020
    - 18.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

    #include "tensorflow/core/framework/tensor_testutil.h"
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/platform/enable_tf2_utils.h"
    #include "tensorflow/core/platform/types.h"
    #include "tsl/lib/core/status_test_util.h"
    
    namespace tensorflow {
    
    namespace {
    
    // Produce a valid graph with a resource-type input.
    FunctionDef PassThroughResource() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top