|
size_t | GetNumRow () const override=0 |
|
size_t | GetNumCol () const override=0 |
|
size_t | GetNumElem () const override=0 |
|
DMatrixType | GetType () const override=0 |
|
TypeInfo | GetElementType () const override |
|
|
template<typename ElementType > |
static std::unique_ptr< CSRDMatrix > | Create (std::vector< ElementType > data, std::vector< uint32_t > col_ind, std::vector< size_t > row_ptr, size_t num_row, size_t num_col) |
|
template<typename ElementType > |
static std::unique_ptr< CSRDMatrix > | Create (const void *data, const uint32_t *col_ind, const size_t *row_ptr, size_t num_row, size_t num_col) |
|
static std::unique_ptr< CSRDMatrix > | Create (TypeInfo type, const void *data, const uint32_t *col_ind, const size_t *row_ptr, size_t num_row, size_t num_col) |
|
static std::unique_ptr< CSRDMatrix > | Create (const char *filename, const char *format, const char *data_type, int nthread, int verbose) |
|
Definition at line 82 of file data.h.
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/treelite/checkouts/1.1.0/include/treelite/data.h
- /home/docs/checkouts/readthedocs.org/user_builds/treelite/checkouts/1.1.0/src/data.cc