MCPcopy Index your code
hub / github.com/pytorch/pytorch / RunNetOnce

Function RunNetOnce

caffe2/python/workspace.py:243–249  ·  view source on GitHub ↗
(net)

Source from the content-addressed store, hash-verified

241
242
243def RunNetOnce(net):
244 return CallWithExceptionIntercept(
245 C.run_net_once,
246 C.Workspace.current._last_failed_op_net_position,
247 GetNetName(net),
248 StringifyProto(net),
249 )
250
251
252def RunNet(name, num_iter=1, allow_fail=False):

Callers

nothing calls this directly

Calls 3

GetNetNameFunction · 0.85
StringifyProtoFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…