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

Function while_step

caffe2/python/control.py:392–397  ·  view source on GitHub ↗
(control_name)

Source from the content-addressed store, hash-verified

390 nets_or_steps = _PrependNets(nets_or_steps, condition_not_net)
391
392 def while_step(control_name):
393 return core.scoped_execution_step(
394 _get_next_step_name(control_name, name),
395 nets_or_steps,
396 should_stop_blob=stop_blob,
397 )
398
399 if _IsNets(nets_or_steps):
400 # In this case, while_step has sub-nets:

Callers 1

WhileFunction · 0.85

Calls 1

_get_next_step_nameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…