| 44 | class JPGEncoder : public Encoder { |
| 45 | public: |
| 46 | void Setup(const EncoderConf& conf) override { |
| 47 | image_dim_order_ = conf.image_dim_order(); |
| 48 | } |
| 49 | /// 'data' has two tesors, one for the image pixels (3D) and one for the |
| 50 | /// label. The image tensor's data type is kUChar. |
| 51 | /// The dimension order is indicated in the EncoderConf, i.e. image_dim_order. |
nothing calls this directly
no test coverage detected