Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 878 for _Graph (0.21 sec)

  1. test/typeparam/graph.go

    	Edges() []_Edge
    }
    
    // _EdgeC is the constraints on an edge in a graph, given the _Node type.
    type _EdgeC[_Node any] interface {
    	comparable
    	Nodes() (a, b _Node)
    }
    
    // _New creates a new _Graph from a collection of Nodes.
    func _New[_Node _NodeC[_Edge], _Edge _EdgeC[_Node]](nodes []_Node) *_Graph[_Node, _Edge] {
    	return &_Graph[_Node, _Edge]{nodes: nodes}
    }
    
    // nodePath holds the path to a node during ShortestPath.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        tags: Collection[str],
        representative_dataset_map: rd.RepresentativeDatasetMapping,
    ) -> None:
      """Runs the graph for calibration in graph mode.
    
      This function assumes _graph mode_ (used when legacy TF1 is used or when eager
      mode is explicitly disabled) when running the graph. This step is used in
      order to collect the statistics in CustomAggregatorOp for quantization using
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    class Graph {
    
        final Map<String, Set<String>> graph = new LinkedHashMap<>();
    
        synchronized void addEdge(String from, String to) throws CycleDetectedException {
            if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {
                List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/node/graph.go

    }
    
    // destinationEdge is a graph edge that includes a denormalized reference to the final destination vertex.
    // This should only be used when there is a single leaf vertex reachable from T.
    type destinationEdge struct {
    	F           graph.Node
    	T           graph.Node
    	Destination graph.Node
    }
    
    func newDestinationEdge(from, to, destination graph.Node) graph.Edge {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Graph.java

     * MutableGraph<Integer> graph = GraphBuilder.undirected().build();
     * }</pre>
     *
     * <p>{@link GraphBuilder#build()} returns an instance of {@link MutableGraph}, which is a subtype
     * of {@code Graph} that provides methods for adding and removing nodes and edges. If you do not
     * need to mutate a graph (e.g. if you write a method than runs a read-only algorithm on the graph),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/Graph.java

     * MutableGraph<Integer> graph = GraphBuilder.undirected().build();
     * }</pre>
     *
     * <p>{@link GraphBuilder#build()} returns an instance of {@link MutableGraph}, which is a subtype
     * of {@code Graph} that provides methods for adding and removing nodes and edges. If you do not
     * need to mutate a graph (e.g. if you write a method than runs a read-only algorithm on the graph),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

     */
    package org.apache.maven.model.building;
    
    import java.util.*;
    
    class Graph {
    
        final Map<String, Set<String>> graph = new LinkedHashMap<>();
    
        synchronized void addEdge(String from, String to) throws CycleDetectedException {
            if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {
                List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jan 22 17:27:48 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    }
    
    // New summarizes performance data from a profile into a graph.
    func New(prof *profile.Profile, o *Options) *Graph {
    	if o.CallTree {
    		return newTree(prof, o)
    	}
    	g, _ := newGraph(prof, o)
    	return g
    }
    
    // newGraph computes a graph from a profile. It returns the graph, and
    // a map from the profile location indices to the corresponding graph
    // nodes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. src/internal/profile/graph.go

    // limitations under the License.
    
    // Package profile represents a pprof profile as a directed graph.
    //
    // This package is a simplified fork of github.com/google/pprof/internal/graph.
    package profile
    
    import (
    	"fmt"
    	"sort"
    	"strings"
    )
    
    // Options encodes the options for constructing a graph
    type Options struct {
    	SampleValue       func(s []int64) int64 // Function to compute the value of a sample
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.*;
    
    import org.apache.maven.project.CycleDetectedException;
    
    class Graph {
        private enum DfsState {
            VISITING,
            VISITED
        }
    
        final Map<String, Vertex> vertices = new LinkedHashMap<>();
    
        public Vertex getVertex(String id) {
            return vertices.get(id);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top