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

Method test_print

caffe2/python/net_printer_test.py:70–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68
69class TestNetPrinter(unittest.TestCase):
70 def test_print(self):
71 self.assertTrue(len(net_printer.to_string(example_job())) > 0)
72
73 def test_valid_job(self):
74 job = example_job()

Callers

nothing calls this directly

Calls 2

example_jobFunction · 0.85
to_stringMethod · 0.80

Tested by

no test coverage detected