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

Method reshape

python/caffe/test/test_python_layer.py:15–16  ·  view source on GitHub ↗
(self, bottom, top)

Source from the content-addressed store, hash-verified

13 pass
14
15 def reshape(self, bottom, top):
16 top[0].reshape(*bottom[0].data.shape)
17
18 def forward(self, bottom, top):
19 top[0].data[...] = 10 * bottom[0].data

Callers

nothing calls this directly

Calls 1

reshapeMethod · 0.45

Tested by

no test coverage detected