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

Method set_step

caffe2/python/task.py:581–583  ·  view source on GitHub ↗
(self, step)

Source from the content-addressed store, hash-verified

579 return [self.add_output(output) for output in outputs]
580
581 def set_step(self, step):
582 self._assert_not_used()
583 self._step = core.to_execution_step(step)
584
585 def get_step(self):
586 if self._step_with_setup is not None:

Callers 2

__init__Method · 0.95
__exit__Method · 0.95

Calls 1

_assert_not_usedMethod · 0.95

Tested by

no test coverage detected