tvm
|
Attributes used in max_pool1d and avg_pool1d operator. More...
#include <nn.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.attrs.Pool1DAttrs", 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_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_pool1d and avg_pool1d operator.
|
inlinestatic |
tvm::relax::Pool1DAttrs::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "relax.attrs.Pool1DAttrs" | , |
Pool1DAttrs | , | ||
BaseAttrsNode | |||
) |
bool tvm::relax::Pool1DAttrs::ceil_mode |
bool tvm::relax::Pool1DAttrs::count_include_pad |
ffi::Array<IntImm> tvm::relax::Pool1DAttrs::dilation |
ffi::String tvm::relax::Pool1DAttrs::layout |
ffi::String tvm::relax::Pool1DAttrs::out_layout |
ffi::Array<IntImm> tvm::relax::Pool1DAttrs::padding |
ffi::Array<IntImm> tvm::relax::Pool1DAttrs::pool_size |
ffi::Array<IntImm> tvm::relax::Pool1DAttrs::strides |