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

Method Setup

include/singa/io/decoder.h:62–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60class CSVDecoder : public Decoder {
61 public:
62 void Setup(const DecoderConf& conf) override {
63 has_label_ = conf.has_label();
64 }
65 std::vector<Tensor> Decode(std::string value) override;
66
67 bool has_label() const { return has_label_; }

Callers

nothing calls this directly

Calls 1

has_labelMethod · 0.80

Tested by

no test coverage detected