Apache Singa
A General Distributed Deep Learning Library
Public Member Functions | List of all members
singa::CSVDecoder Class Reference

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>

Inheritance diagram for singa::CSVDecoder:
Inheritance graph
[legend]
Collaboration diagram for singa::CSVDecoder:
Collaboration graph
[legend]

Public Member Functions

void Setup (const DecoderConf &conf) override
 
std::vector< TensorDecode (std::string value) override
 Decode value to get data and labels.
 
const bool has_label () const
 

Detailed Description

Decode the string of csv formated data into data tensor (dtype is kFloat32) and optionally a label tensor (dtype is kInt).


The documentation for this class was generated from the following file: