Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BVLC/caffe
/ forward
Method
forward
python/caffe/test/test_python_layer.py:56–57 ·
view source on GitHub ↗
(self, bottom, top)
Source
from the content-addressed store, hash-verified
54
top[0].reshape()
55
56
def
forward(self, bottom, top):
57
top[0].data[()] = self.phase
58
59
def
python_net_file():
60
with
tempfile.NamedTemporaryFile(mode=
'w+'
, delete=False)
as
f:
Callers
10
_Net_forward_all
Function · 0.45
_Net_forward_backward_all
Function · 0.45
test_forward_backward
Method · 0.45
test_forward_start_end
Method · 0.45
test_clear_param_diffs
Method · 0.45
test_forward
Method · 0.45
test_reshape
Method · 0.45
test_parameter
Method · 0.45
test_phase
Method · 0.45
test_zero_tops
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected