| 33 | /// \copydoc Layer::Setup(const LayerConf&); |
| 34 | void Setup(const Shape& in_sample, const LayerConf& conf) override; |
| 35 | const Shape GetOutputSampleShape() const override { |
| 36 | CHECK(out_sample_shape_.size()) << "You may haven't call Setup()"; |
| 37 | return out_sample_shape_; |
| 38 | } |
| 39 | /// The inputs should have only one Tensor |
| 40 | /// The outputs is a set of replicated Tensor |
| 41 | const vector<Tensor> Forward(int flag, const vector<Tensor> &inputs) override; |