Home
last modified time | relevance | path

Searched defs:Graph (Results 1 – 25 of 573) sorted by relevance

12345678910>>...23

/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/mvs/
Dgraph.go18 type Graph struct { struct
19 cmp func(p, v1, v2 string) int
20 roots []module.Version
22 required map[module.Version][]module.Version
24 isRoot map[module.Version]bool // contains true for roots and false for reachable non-roots
25 selected map[string]string // path → version
60 func (g *Graph) Require(m module.Version, reqs []module.Version) {
95 func (g *Graph) RequiredBy(m module.Version) (reqs []module.Version, ok bool) {
103 func (g *Graph) Selected(path string) (version string) {
116 func (g *Graph) BuildList() []module.Version {
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/jit/ir/
H A Dir.h1180 struct Graph : std::enable_shared_from_this<Graph> { struct
1213 Graph(ScopePtr scope_root = c10::make_intrusive<Scope>()) argument
1214 : current_scope_(std::move(scope_root)), in current_scope_()
1218 at::ArrayRef<Value*> inputs() { in inputs()
1221 at::ArrayRef<const Value*> inputs() const { in inputs()
1225 at::ArrayRef<Value*> outputs() { in outputs()
1228 at::ArrayRef<const Value*> outputs() const { in outputs()
1232 graph_node_list nodes() { in nodes()
1235 const_graph_node_list nodes() const { in nodes()
1239 Node* param_node() { in param_node()
[all …]
/aosp_15_r20/external/pytorch/torch/_inductor/fx_passes/
H A Dddp_fusion.py51 graph: fx.Graph,
162 graph: fx.Graph,
184 graph: fx.Graph,
242 graph: fx.Graph,
304 graph: fx.Graph,
390 graph: fx.Graph,
437 graph: fx.Graph, comm_blocks: List[CommBlock], bucket_size_mb: int
476 graph: fx.Graph, algorithm_fn: Callable[..., Any], fusion_fn: Callable[..., Any]
516 def fuse_ddp_with_coalesced_op(graph: fx.Graph, bucket_size_mb: int) -> None:
524 def fuse_ddp_with_concat_op(graph: fx.Graph, bucket_size_mb: int) -> None:
[all …]
H A Dmicro_pipeline_tp.py26 def _is_backward(graph: torch.fx.Graph) -> bool:
82 def find_all_gather_patterns(graph: torch.fx.Graph):
218 def find_reduce_scatter_patterns(graph: torch.fx.Graph):
469 graph: torch.fx.Graph,
636 graph: torch.fx.Graph,
752 graph: torch.fx.Graph,
767 graph: torch.fx.Graph,
798 def _get_unexposed_collectives(graph: torch.fx.Graph) -> List[torch.fx.Node]:
834 def micro_pipeline_tp_pass(graph: torch.fx.Graph):
H A Dreinplace.py45 def graph_call_function(graph: torch.fx.Graph, fn, *args, **kwargs):
92 graph: torch.fx.Graph,
116 graph: torch.fx.Graph, node: torch.fx.Node
134 graph: torch.fx.Graph, node: torch.fx.Node
204 def decompose_generalized_scatter(graph: torch.fx.Graph) -> None:
225 def canonicalize_view_scatter_ops(graph: torch.fx.Graph) -> None:
371 def reinplace_inplaceable_ops_core(graph: torch.fx.Graph) -> None:
685 def reinplace_inplaceable_ops(graph: torch.fx.Graph) -> None:
H A Dsplit_cat.py608 graph: torch.fx.Graph,
817 graph: torch.fx.Graph,
1043 graph: torch.fx.Graph,
1709 graph: torch.fx.Graph,
1766 graph: torch.fx.Graph,
1802 graph: torch.fx.Graph,
1869 graph: torch.fx.Graph,
1940 def remove_split_unbind_children(graph: torch.fx.Graph, inputs: List[torch.fx.Node]):
2117 graph: torch.fx.Graph,
2170 graph: torch.fx.Graph,
/aosp_15_r20/external/tensorflow/tensorflow/go/
H A Dgraph.go52 type Graph struct { struct
53 c *C.TF_Graph
98 func (g *Graph) finalizer() {
105 func (g *Graph) WriteTo(w io.Writer) (int64, error) {
135 func (g *Graph) ImportWithOptions(def []byte, options GraphImportOptions) error {
178 func (g *Graph) Import(def []byte, prefix string) error {
184 func (g *Graph) Operation(name string) *Operation {
195 func (g *Graph) Operations() []Operation {
213 func (g *Graph) AddGradients(prefix string, y []Output, x []Output, dx []Output) ([]Output, error) {
311 func (g *Graph) AddOperation(args OpSpec) (*Operation, error) {
H A Dutil_test.go19 func Placeholder(g *Graph, name string, dt DataType) (Output, error) {
30 func Const(g *Graph, name string, value interface{}) (Output, error) {
49 func Neg(g *Graph, name string, port Output) (Output, error) {
58 func Add(g *Graph, name string, x, y Output) (Output, error) {
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/dag/
Dparse.go51 type Graph struct { struct
52 Nodes []string
53 byLabel map[string]int
54 edges map[string]map[string]bool
61 func (g *Graph) addNode(label string) bool {
71 func (g *Graph) AddEdge(from, to string) {
75 func (g *Graph) DelEdge(from, to string) {
79 func (g *Graph) HasEdge(from, to string) bool {
83 func (g *Graph) Edges(from string) []string {
/aosp_15_r20/external/pytorch/torch/fx/
H A Dsubgraph_rewriter.py209 pattern: Union[Callable, Graph, GraphModule], argument
211 match_filters: Optional[List[Callable[["InternalMatch", Graph, Graph], bool]]] = None, argument
229 pattern: Union[Callable, Graph, GraphModule], argument
231 match_filters: Optional[List[Callable[["InternalMatch", Graph, Graph], bool]]] = None, argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/Analysis/
DDOTGraphTraitsPass.h34 void viewGraphForFunction(Function &F, GraphT Graph, StringRef Name, in viewGraphForFunction()
67 GraphT Graph = AnalysisGraphTraitsT::getGraph(Result); in run() local
106 void printGraphForFunction(Function &F, GraphT Graph, StringRef Name, in printGraphForFunction()
151 GraphT Graph = AnalysisGraphTraitsT::getGraph(Result); in run() local
206 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
245 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
269 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
295 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
324 void WriteDOTGraphToFile(Function &F, GraphT &&Graph, in WriteDOTGraphToFile()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Analysis/
DDOTGraphTraitsPass.h34 void viewGraphForFunction(Function &F, GraphT Graph, StringRef Name, in viewGraphForFunction()
67 GraphT Graph = AnalysisGraphTraitsT::getGraph(Result); in run() local
105 void printGraphForFunction(Function &F, GraphT Graph, StringRef Name, in printGraphForFunction()
150 GraphT Graph = AnalysisGraphTraitsT::getGraph(Result); in run() local
205 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
244 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
268 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
294 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
323 void WriteDOTGraphToFile(Function &F, GraphT &&Graph, in WriteDOTGraphToFile()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/Analysis/
DDOTGraphTraitsPass.h31 void viewGraphForFunction(Function &F, GraphT Graph, StringRef Name, in viewGraphForFunction()
64 GraphT Graph = AnalysisGraphTraitsT::getGraph(Result); in run() local
87 void printGraphForFunction(Function &F, GraphT Graph, StringRef Name, in printGraphForFunction()
130 GraphT Graph = AnalysisGraphTraitsT::getGraph(Result); in run() local
185 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
224 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
248 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
274 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
302 void WriteDOTGraphToFile(Function &F, GraphT &&Graph, in WriteDOTGraphToFile()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/Analysis/
DDOTGraphTraitsPass.h34 void viewGraphForFunction(Function &F, GraphT Graph, StringRef Name, in viewGraphForFunction()
67 GraphT Graph = AnalysisGraphTraitsT::getGraph(Result); in run() local
106 void printGraphForFunction(Function &F, GraphT Graph, StringRef Name, in printGraphForFunction()
151 GraphT Graph = AnalysisGraphTraitsT::getGraph(Result); in run() local
206 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
245 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
269 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
295 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
324 void WriteDOTGraphToFile(Function &F, GraphT &&Graph, in WriteDOTGraphToFile()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Analysis/
H A DDOTGraphTraitsPass.h31 void viewGraphForFunction(Function &F, GraphT Graph, StringRef Name, in viewGraphForFunction()
64 GraphT Graph = AnalysisGraphTraitsT::getGraph(Result); in run() local
87 void printGraphForFunction(Function &F, GraphT Graph, StringRef Name, in printGraphForFunction()
130 GraphT Graph = AnalysisGraphTraitsT::getGraph(Result); in run() local
185 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
224 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
248 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
274 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
302 void WriteDOTGraphToFile(Function &F, GraphT &&Graph, in WriteDOTGraphToFile()
/aosp_15_r20/external/rust/android-crates-io/crates/petgraph/src/graph_impl/
Dmod.rs347 pub struct Graph<N, E, Ty = Directed, Ix = DefaultIx> { struct
353 /// A `Graph` with directed edges. argument
366 impl<N, E, Ty, Ix: IndexType> Clone for Graph<N, E, Ty, Ix> implementation
386 impl<N, E, Ty, Ix> fmt::Debug for Graph<N, E, Ty, Ix> implementation
455 impl<N, E> Graph<N, E, Directed> { implementation
469 impl<N, E> Graph<N, E, Undirected> { implementation
483 impl<N, E, Ty, Ix> Graph<N, E, Ty, Ix> impl
1611 impl<'a, N, E, Ty, Ix> visit::IntoEdges for &'a Graph<N, E, Ty, Ix> implementation
1622 impl<'a, N, E, Ty, Ix> visit::IntoEdgesDirected for &'a Graph<N, E, Ty, Ix> implementation
1853 impl<N, E, Ty, Ix> Index<NodeIndex<Ix>> for Graph<N, E, Ty, Ix> implementation
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/graph/
Dgraph.go50 type Graph struct { struct
51 Nodes Nodes
468 func (g *Graph) TrimTree(kept NodePtrSet) {
716 func (g *Graph) String() string {
742 func (g *Graph) DiscardLowFrequencyNodes(nodeCutoff int64) NodeSet {
748 func (g *Graph) DiscardLowFrequencyNodePtrs(nodeCutoff int64) NodePtrSet {
781 func (g *Graph) TrimLowFrequencyTags(tagCutoff int64) {
803 func (g *Graph) TrimLowFrequencyEdges(edgeCutoff int64) int {
818 func (g *Graph) SortNodes(cum bool, visualMode bool) {
832 func (g *Graph) SelectTopNodePtrs(maxNodes int, visualMode bool) NodePtrSet {
[all …]
/aosp_15_r20/external/pytorch/torch/onnx/
H A Dverification.py435 def __init__(self, graph_a: _C.Graph, graph_b: _C.Graph):
512 _C.Graph,
634 graph: torch.Graph,
697 onnx_graph: torch.Graph,
860 graph: torch.Graph,
1403 graph: torch.Graph, bridge_value: torch.Value
1486 graph: torch.Graph,
1534 graph: torch.Graph,
/aosp_15_r20/external/pytorch/torch/ao/quantization/fx/
H A Dprepare.py480 graph: Graph,
804 graph: Graph,
966 graph: Graph,
1033 graph: Graph,
1080 graph: Graph,
1161 graph: Graph,
1175 graph: Graph,
1288 graph: Graph,
H A Dconvert.py500 node: Node, graph: Graph
560 def _maybe_recursive_remove_dequantize(arg: Any, node: Node, graph: Graph) -> None:
638 def _insert_dequantize_node(node: Node, graph: Graph) -> None:
871 node: Node, prev_node: Node, graph: Graph
893 graph: Graph,
H A Dgraph_module.py22 graph: Graph,
52 graph: Graph,
105 graph: Graph,
152 graph: Graph,
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DDOTGraphTraitsPass.h54 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
96 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
133 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
159 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
/aosp_15_r20/external/llvm/include/llvm/Analysis/
H A DDOTGraphTraitsPass.h55 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
97 GraphT Graph = AnalysisGraphTraitsT::getGraph(&Analysis); in runOnFunction() local
134 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
160 GraphT Graph = AnalysisGraphTraitsT::getGraph(&getAnalysis<AnalysisT>()); in runOnModule() local
/aosp_15_r20/external/pytorch/torch/_inductor/
H A Dpattern_matcher.py219 self, replacement_graph: torch.fx.Graph, args: Sequence[Any]
318 graph: torch.fx.Graph,
977 def apply(self, match: Match, graph: torch.fx.Graph, node: torch.fx.Node) -> None:
1006 def apply(self, match: Match, graph: torch.fx.Graph, node: torch.fx.Node) -> None:
1024 def apply(self, match: Match, graph: torch.fx.Graph, node: torch.fx.Node) -> None:
1036 graph: torch.fx.Graph,
1037 replacement_graph: Union[torch.fx.Graph, torch.fx.GraphModule],
1183 def apply(self, match: Match, graph: torch.fx.Graph, node: torch.fx.Node) -> None:
1609 def is_start_of_fx_graph(graph: torch.fx.Graph, node: torch.fx.Node) -> bool:
1635 def get_mutation_region_id(graph: torch.fx.Graph, node: torch.fx.Node) -> int:
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/petgraph/src/
Ddata.rs73 impl<N, E, Ty, Ix> Data for Graph<N, E, Ty, Ix> implementation
81 impl<N, E, Ty, Ix> DataMap for Graph<N, E, Ty, Ix> implementation
94 impl<N, E, Ty, Ix> DataMapMut for Graph<N, E, Ty, Ix> implementation
135 impl<N, E, Ty, Ix> Build for Graph<N, E, Ty, Ix> implementation
222 impl<N, E, Ty, Ix> Create for Graph<N, E, Ty, Ix> implementation
325 impl<N, E, Ty, Ix> FromElements for Graph<N, E, Ty, Ix> implementation

12345678910>>...23