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

Method testDoWhileLoopWithNet

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

Source from the content-addressed store, hash-verified

131 self.CheckNetOutput([(self.cnt_net_, self.N_)])
132
133 def testDoWhileLoopWithNet(self):
134 self.DoWhileLoopTest(self.cnt_net_)
135 self.DoWhileLoopTest([self.idle_net_, self.cnt_net_])
136
137 def testDoWhileLoopWithStep(self):
138 step = control.Do('count', self.cnt_net_)

Callers

nothing calls this directly

Calls 1

DoWhileLoopTestMethod · 0.95

Tested by

no test coverage detected