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