Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ createNode
Method
createNode
caffe2/python/nomnigraph.py:59–60 ·
view source on GitHub ↗
(self, val)
Source
from the content-addressed store, hash-verified
57
return
self._NNModule.dataFlow().tensors
58
59
def
createNode(self, val):
60
return
self._NNModule.dataFlow().createNode(val)
61
62
def
deleteNode(self, node):
63
return
self._NNModule.dataFlow().deleteNode(node)
Callers
15
test_simple_replace
Method · 0.95
transpose_network
Function · 0.80
test_simple
Method · 0.80
test_operatordef_simple
Method · 0.80
test_invalid_node
Method · 0.80
test_edges_simple
Method · 0.80
test_edges_complex
Method · 0.80
test_debug
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
Calls
1
dataFlow
Method · 0.80
Tested by
15
test_simple_replace
Method · 0.76
test_simple
Method · 0.64
test_operatordef_simple
Method · 0.64
test_invalid_node
Method · 0.64
test_edges_simple
Method · 0.64
test_edges_complex
Method · 0.64
test_debug
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