Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ createEdge
Method
createEdge
caffe2/python/nomnigraph.py:65–66 ·
view source on GitHub ↗
(self, a, b)
Source
from the content-addressed store, hash-verified
63
return
self._NNModule.dataFlow().deleteNode(node)
64
65
def
createEdge(self, a, b):
66
return
self._NNModule.dataFlow().createEdge(a, b)
67
68
def
deleteEdge(self, a, b=None):
69
if
b:
Callers
12
test_simple_rewire
Method · 0.95
test_createUniqueDataNode
Method · 0.95
transpose_network
Function · 0.80
test_edges_simple
Method · 0.80
test_edges_complex
Method · 0.80
test_match_graph_node
Method · 0.80
test_match_graph_node_strict
Method · 0.80
test_match_graph
Method · 0.80
test_delete_subgraph
Method · 0.80
test_replace_subraph
Method · 0.80
test_genericGraph
Method · 0.80
test_node_interactions
Method · 0.80
Calls
1
dataFlow
Method · 0.80
Tested by
11
test_simple_rewire
Method · 0.76
test_createUniqueDataNode
Method · 0.76
test_edges_simple
Method · 0.64
test_edges_complex
Method · 0.64
test_match_graph_node
Method · 0.64
test_match_graph_node_strict
Method · 0.64
test_match_graph
Method · 0.64
test_delete_subgraph
Method · 0.64
test_replace_subraph
Method · 0.64
test_genericGraph
Method · 0.64
test_node_interactions
Method · 0.64