MCPcopy Create free account
hub / github.com/apache/singa / Setup

Method Setup

include/singa/io/encoder.h:46–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44class 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.

Callers

nothing calls this directly

Calls 1

image_dim_orderMethod · 0.45

Tested by

no test coverage detected