tvm
|
Attributes used in max_pool2d and avg_pool2d operator. More...
#include <nn.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.attrs.Pool2DAttrs", Pool2DAttrs, 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_FFI_DECLARE_OBJECT_INFO ("ir.Attrs", BaseAttrsNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
Public Attributes | |
ffi::Array< IntImm > | pool_size |
ffi::Array< IntImm > | strides |
ffi::Array< IntImm > | padding |
ffi::Array< IntImm > | dilation |
bool | ceil_mode |
bool | count_include_pad |
ffi::String | layout |
ffi::String | out_layout |
Additional Inherited Members | |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
Attributes used in max_pool2d and avg_pool2d operator.
|
inlinestatic |
tvm::relax::Pool2DAttrs::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "relax.attrs.Pool2DAttrs" | , |
Pool2DAttrs | , | ||
BaseAttrsNode | |||
) |
bool tvm::relax::Pool2DAttrs::ceil_mode |
bool tvm::relax::Pool2DAttrs::count_include_pad |
ffi::Array<IntImm> tvm::relax::Pool2DAttrs::dilation |
ffi::String tvm::relax::Pool2DAttrs::layout |
ffi::String tvm::relax::Pool2DAttrs::out_layout |
ffi::Array<IntImm> tvm::relax::Pool2DAttrs::padding |
ffi::Array<IntImm> tvm::relax::Pool2DAttrs::pool_size |
ffi::Array<IntImm> tvm::relax::Pool2DAttrs::strides |