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

Method Setup

include/singa/io/decoder.h:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43class JPGDecoder : public Decoder {
44 public:
45 void Setup(const DecoderConf& conf) override {
46 image_dim_order_ = conf.image_dim_order();
47 }
48 std::vector<Tensor> Decode(std::string value) override;
49
50 const std::string image_dim_order() const { return image_dim_order_; }

Callers

nothing calls this directly

Calls 1

image_dim_orderMethod · 0.45

Tested by

no test coverage detected