DLPrimitives
|
Static Public Member Functions | |
static Pooling2DConfig | from_json (json::value const &v) |
Static Public Member Functions inherited from dlprim::PoolingBase | |
static PoolingBase | from_json (json::value const &v) |
Public Attributes | |
int | kernel [2] = {1,1} |
int | pad [2] = {0,0} |
int | stride [2] ={1,1} |
bool | ceil_mode =false |
bool | count_include_pad = false |
Public Attributes inherited from dlprim::PoolingBase | |
Mode | mode = max |
Additional Inherited Members | |
Public Types inherited from dlprim::PoolingBase | |
enum | Mode { max = 0, avg = 1 } |