MCPcopy Create free account
hub / github.com/BVLC/caffe / setUp

Method setUp

python/caffe/test/test_net.py:219–222  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

217"""
218
219 def setUp(self):
220 self.f = tempfile.NamedTemporaryFile(mode='w+', delete=False)
221 self.f.write(self.TEST_NET)
222 self.f.close()
223
224 def tearDown(self):
225 os.remove(self.f.name)

Callers

nothing calls this directly

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected