| 31 | /// \copydoc Layer::Setup(const LayerConf&); |
| 32 | void Setup(const Shape& in_sample, const LayerConf& conf) override; |
| 33 | const Shape GetOutputSampleShape() const override { |
| 34 | CHECK(out_sample_shape_.size()) << "You may haven't call Setup()"; |
| 35 | return out_sample_shape_; |
| 36 | } |
| 37 | |
| 38 | /// \copydoc Layer::Forward(int flag, const Tensor&); |
| 39 | const Tensor Forward(int flag, const Tensor &input) override; |