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

Method testUntilLoopWithStep

caffe2/python/control_test.py:123–126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

121 self.UntilLoopTest([self.cnt_net_, self.idle_net_])
122
123 def testUntilLoopWithStep(self):
124 step = control.Do('count', self.cnt_net_)
125 self.UntilLoopTest(step)
126 self.UntilLoopTest([step, self.idle_net_])
127
128 def DoWhileLoopTest(self, nets_or_steps):
129 step = control.DoWhile('myDoWhile', self.cond_net_, nets_or_steps)

Callers

nothing calls this directly

Calls 1

UntilLoopTestMethod · 0.95

Tested by

no test coverage detected