Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/pytorch
/ Nets
Method
Nets
caffe2/python/core.py:2908–2909 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2906
self._plan.network.add().CopyFrom(net.Proto())
2907
2908
def
Nets(self):
2909
return
list(self._net_dict.values())
2910
2911
def
AddStep(self, step):
2912
assert isinstance(step, ExecutionStep)
Callers
2
test_create_plan_from_proto_correctly
Method · 0.95
AddSubstep
Method · 0.45
Calls
2
list
Function · 0.85
values
Method · 0.45
Tested by
1
test_create_plan_from_proto_correctly
Method · 0.76