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

Method testIfCondTrueOnBlob

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

Source from the content-addressed store, hash-verified

169 self.IfCondTest(self.true_cond_net_, 1, False)
170
171 def testIfCondTrueOnBlob(self):
172 self.IfCondTest(self.true_cond_net_, 1, True)
173
174 def testIfCondFalseOnNet(self):
175 self.IfCondTest(self.false_cond_net_, 0, False)

Callers

nothing calls this directly

Calls 1

IfCondTestMethod · 0.95

Tested by

no test coverage detected