dmlc-core
dmlc-core copied to clipboard
data type of label is DType? it should be real_t?
there existed some problem in source file dmlc-core/src/data/row_block.h
struct RowBlockContainer {
/*! \brief array[size+1], row pointer to beginning of each rows */
std::vector<size_t> offset;
/*! \brief array[size] label of each instance */
std::vector<DType> label;
/*! \brief array[size] weight of each instance */
std::vector<real_t> weight;
/*! \brief array[size] session-id of each instance */
std::vector<uint64_t> qid;
/*! \brief field index */
std::vector<IndexType> field;
/*! \brief feature index */
std::vector<IndexType> index;
the data type of label is real_t @eric-haibin-lin
Do you mean you want a different DType for label?