MCPcopy 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_rewireMethod · 0.95
transpose_networkFunction · 0.80
test_edges_simpleMethod · 0.80
test_edges_complexMethod · 0.80
test_match_graph_nodeMethod · 0.80
test_match_graphMethod · 0.80
test_delete_subgraphMethod · 0.80
test_replace_subraphMethod · 0.80
test_genericGraphMethod · 0.80

Calls 1

dataFlowMethod · 0.80

Tested by 11

test_simple_rewireMethod · 0.76
test_edges_simpleMethod · 0.64
test_edges_complexMethod · 0.64
test_match_graph_nodeMethod · 0.64
test_match_graphMethod · 0.64
test_delete_subgraphMethod · 0.64
test_replace_subraphMethod · 0.64
test_genericGraphMethod · 0.64