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

Method testIfCondTrueOnNet

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

Source from the content-addressed store, hash-verified

166 self.CheckNetOutput([(self.cnt_net_, expect)])
167
168 def testIfCondTrueOnNet(self):
169 self.IfCondTest(self.true_cond_net_, 1, False)
170
171 def testIfCondTrueOnBlob(self):
172 self.IfCondTest(self.true_cond_net_, 1, True)

Callers

nothing calls this directly

Calls 1

IfCondTestMethod · 0.95

Tested by

no test coverage detected