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

Method PythonLayer

include/caffe/layers/python_layer.hpp:16–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14class PythonLayer : public Layer<Dtype> {
15 public:
16 PythonLayer(PyObject* self, const LayerParameter& param)
17 : Layer<Dtype>(param), self_(bp::handle<>(bp::borrowed(self))) { }
18
19 virtual void LayerSetUp(const vector<Blob<Dtype>*>& bottom,
20 const vector<Blob<Dtype>*>& top) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected