Apache Singa
A General Distributed Deep Learning Library
|
Decode the string of csv formated data into data tensor (dtype is kFloat32) and optionally a label tensor (dtype is kInt). More...
#include <decoder.h>
Public Member Functions | |
void | Setup (const DecoderConf &conf) override |
std::vector< Tensor > | Decode (std::string value) override |
Decode value to get data and labels. | |
const bool | has_label () const |
Decode the string of csv formated data into data tensor (dtype is kFloat32) and optionally a label tensor (dtype is kInt).