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

Method check_net

python/caffe/test/test_net.py:227–229  ·  view source on GitHub ↗
(self, net, blobs)

Source from the content-addressed store, hash-verified

225 os.remove(self.f.name)
226
227 def check_net(self, net, blobs):
228 net_blobs = [b for b in net.blobs.keys() if 'data' not in b]
229 self.assertEqual(net_blobs, blobs)
230
231 def test_0(self):
232 net = caffe.Net(self.f.name, caffe.TEST)

Callers 2

test_0Method · 0.95
test_1Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected