tvm
|
Attributes used in max_pool1d and avg_pool1d operator. More...
#include <nn.h>
Public Member Functions | |
TVM_FFI_DECLARE_FINAL_OBJECT_INFO (Pool1DAttrs, BaseAttrsNode) | |
![]() | |
void | InitByPackedArgs (const ffi::PackedArgs &args, bool allow_unknown) final |
Initialize the attributes by arguments. More... | |
![]() | |
virtual | ~BaseAttrsNode () |
virtual destructor More... | |
template<typename... Args> | |
void | InitBySeq (Args &&... args) |
Initialize the attributes by sequence of arguments. More... | |
TVM_DECLARE_BASE_OBJECT_INFO (BaseAttrsNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
Public Attributes | |
Array< IntImm > | pool_size |
Array< IntImm > | strides |
Array< IntImm > | padding |
Array< IntImm > | dilation |
bool | ceil_mode |
bool | count_include_pad |
String | layout |
String | out_layout |
Static Public Attributes | |
static constexpr const char * | _type_key = "relax.attrs.Pool1DAttrs" |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const char * | _type_key = "ir.Attrs" |
Attributes used in max_pool1d and avg_pool1d operator.
|
inlinestatic |
tvm::relax::Pool1DAttrs::TVM_FFI_DECLARE_FINAL_OBJECT_INFO | ( | Pool1DAttrs | , |
BaseAttrsNode | |||
) |
|
staticconstexpr |
bool tvm::relax::Pool1DAttrs::ceil_mode |
bool tvm::relax::Pool1DAttrs::count_include_pad |
Array<IntImm> tvm::relax::Pool1DAttrs::dilation |
String tvm::relax::Pool1DAttrs::layout |
String tvm::relax::Pool1DAttrs::out_layout |
Array<IntImm> tvm::relax::Pool1DAttrs::padding |
Array<IntImm> tvm::relax::Pool1DAttrs::pool_size |
Array<IntImm> tvm::relax::Pool1DAttrs::strides |