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

Method testDoUntilLoopWithStep

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

Source from the content-addressed store, hash-verified

149 self.DoUntilLoopTest([self.cnt_net_, self.idle_net_])
150
151 def testDoUntilLoopWithStep(self):
152 step = control.Do('count', self.cnt_net_)
153 self.DoUntilLoopTest(step)
154 self.DoUntilLoopTest([self.idle_net_, step])
155
156 def IfCondTest(self, cond_net, expect, cond_on_blob):
157 if cond_on_blob:

Callers

nothing calls this directly

Calls 1

DoUntilLoopTestMethod · 0.95

Tested by

no test coverage detected