Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/pytorch
/ SetIter
Method
SetIter
caffe2/python/core.py:2737–2739 ·
view source on GitHub ↗
(self, num_iter)
Source
from the content-addressed store, hash-verified
2735
return
self._substeps
2736
2737
def
SetIter(self, num_iter):
2738
self._assert_can_mutate()
2739
self._step.num_iter = num_iter
2740
2741
def
SetCreateWorkspace(self, create_workspace):
2742
self._assert_can_mutate()
Callers
2
execution_step
Function · 0.95
test_iter_count_with_execution_step
Method · 0.95
Calls
1
_assert_can_mutate
Method · 0.95
Tested by
1
test_iter_count_with_execution_step
Method · 0.76