Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,183 for _Graph (0.1 sec)

  1. android/guava/src/com/google/common/graph/MutableGraph.java

       *
       * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
       * undirected.
       *
       * <p>If {@code nodeU} and {@code nodeV} are not already present in this graph, this method will
       * silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph.
       *
       * @return {@code true} if the graph was modified as a result of this call
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/ImmutableValueGraph.java

      private ImmutableValueGraph(ValueGraph<N, V> graph) {
        super(ValueGraphBuilder.from(graph), getNodeConnections(graph), graph.edges().size());
      }
    
      /** Returns an immutable copy of {@code graph}. */
      public static <N, V> ImmutableValueGraph<N, V> copyOf(ValueGraph<N, V> graph) {
        return (graph instanceof ImmutableValueGraph)
            ? (ImmutableValueGraph<N, V>) graph
            : new ImmutableValueGraph<N, V>(graph);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/dump_graph_test.cc

      }
    
     private:
      string& str_;
    };
    
    TEST(Dump, TextualIrToFileSuccess) {
      Graph graph(OpRegistry::Global());
      Node* node;
      TF_CHECK_OK(NodeBuilder("A", "NoOp").Finalize(&graph, &node));
    
      setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1);
      UseMlirForGraphDump(MlirDumpConfig());
      string ret = DumpGraphToFile("tir", graph);
      ASSERT_EQ(ret, io::JoinPath(testing::TmpDir(), "tir.mlir"));
    
      string actual;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/GraphsBridgeMethods.java

        return Graphs.transitiveClosure(graph);
      }
    
      @SuppressWarnings("PreferredInterfaceType")
      public static <N> Set<N> reachableNodes(Graph<N> graph, N node) {
        return Graphs.reachableNodes(graph, node);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 14 19:31:40 UTC 2024
    - 707 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/graph_pruning.cc

      void PruneGraph(GraphOp graph);
    
      llvm::SmallDenseSet<mlir::StringAttr, 4> ops_to_preserve_ids_;
    };
    
    // Checks if a tf_executor.Graph can be pruned.
    // For TensorFlow V1.0 compatibility: when importing a graph without providing
    // feeds/fetches/targets we should not attempt to prune. The best approximation
    // here is to check if the graph is of the "main" function and does not have the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/c/python_api.cc

    void ExportRecordMutation(  // NOLINT: Intentionally unused function.
        TF_Graph* graph, const TF_Operation& op, const char* mutation_type) {
      mutex_lock l(graph->mu);
      RecordMutation(graph, op, mutation_type);
    }
    
    void AddControlInput(TF_Graph* graph, TF_Operation* op, TF_Operation* input) {
      TF_AddOperationControlInput(graph, op, input);
    }
    
    void SetAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 18:48:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.h

    bool IsSupportedByReplicatedBridge(
        const Graph& graph, const FunctionLibraryDefinition* function_library);
    
    // Check if an MLIR module has any ops with _tpu_replicate or
    // _xla_compile_device_type=TPU.
    bool IsSupportedByReplicatedBridge(mlir::ModuleOp module);
    
    // Check if an MLIR module contains TPUPartitionedCall op. If so, we define
    // such graph as an inference graph. Otherwise, it is non inference graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 16:33:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. tensorflow/c/c_test_util.h

    TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s,
                              const char* name = "feed",
                              TF_DataType dtype = TF_INT32,
                              const std::vector<int64_t>& dims = {});
    
    TF_Operation* Const(TF_Tensor* t, TF_Graph* graph, TF_Status* s,
                        const char* name = "const");
    
    TF_Operation* ScalarConst(bool v, TF_Graph* graph, TF_Status* s,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/PredecessorsFunction.java

     *
     * <h3>Usage</h3>
     *
     * Given an algorithm, for example:
     *
     * <pre>{@code
     * public <N> someGraphAlgorithm(N startNode, PredecessorsFunction<N> predecessorsFunction);
     * }</pre>
     *
     * you will invoke it depending on the graph representation you're using.
     *
     * <p>If you have an instance of one of the primary {@code common.graph} types ({@link Graph},
     * {@link ValueGraph}, and {@link Network}):
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.1K bytes
    - Viewed (0)
Back to top