(self, net_proto)
| 50 | |
| 51 | class TestNetSpec(unittest.TestCase): |
| 52 | def load_net(self, net_proto): |
| 53 | f = tempfile.NamedTemporaryFile(mode='w+', delete=False) |
| 54 | f.write(str(net_proto)) |
| 55 | f.close() |
| 56 | return caffe.Net(f.name, caffe.TEST) |
| 57 | |
| 58 | def test_lenet(self): |
| 59 | """Construct and build the Caffe version of LeNet.""" |
no test coverage detected