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

Method testIfElseCondTrueOnNet

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

Source from the content-addressed store, hash-verified

195 self.CheckNetOutput([(run_net, expect)])
196
197 def testIfElseCondTrueOnNet(self):
198 self.IfElseCondTest(self.true_cond_net_, True, 1, False)
199
200 def testIfElseCondTrueOnBlob(self):
201 self.IfElseCondTest(self.true_cond_net_, True, 1, True)

Callers

nothing calls this directly

Calls 1

IfElseCondTestMethod · 0.95

Tested by

no test coverage detected