treelite
Public Attributes | List of all members
CSRBatch Struct Reference

sparse batch in Compressed Sparse Row (CSR) format More...

#include <predictor.h>

Public Attributes

const float * data
 feature values
 
const uint32_t * col_ind
 feature indices
 
const size_t * row_ptr
 pointer to row headers; length of [num_row] + 1
 
size_t num_row
 number of rows
 
size_t num_col
 number of columns (i.e. # of features used)
 

Detailed Description

sparse batch in Compressed Sparse Row (CSR) format

Definition at line 23 of file predictor.h.


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