tvm
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::relax::Pool2DAttrs Struct Reference

Attributes used in max_pool2d and avg_pool2d operator. More...

#include <nn.h>

Inheritance diagram for tvm::relax::Pool2DAttrs:
Collaboration diagram for tvm::relax::Pool2DAttrs:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.attrs.Pool2DAttrs", Pool2DAttrs, BaseAttrsNode)
 
- Public Member Functions inherited from tvm::AttrsNodeReflAdapter< Pool2DAttrs >
void InitByPackedArgs (const ffi::PackedArgs &args, bool allow_unknown) final
 Initialize the attributes by arguments. More...
 
- Public Member Functions inherited from tvm::BaseAttrsNode
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< IntImmpool_size
 
ffi::Array< IntImmstrides
 
ffi::Array< IntImmpadding
 
ffi::Array< IntImmdilation
 
bool ceil_mode
 
bool count_include_pad
 
ffi::String layout
 
ffi::String out_layout
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::BaseAttrsNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Detailed Description

Attributes used in max_pool2d and avg_pool2d operator.

Member Function Documentation

◆ RegisterReflection()

static void tvm::relax::Pool2DAttrs::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::relax::Pool2DAttrs::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "relax.attrs.Pool2DAttrs"  ,
Pool2DAttrs  ,
BaseAttrsNode   
)

Member Data Documentation

◆ ceil_mode

bool tvm::relax::Pool2DAttrs::ceil_mode

◆ count_include_pad

bool tvm::relax::Pool2DAttrs::count_include_pad

◆ dilation

ffi::Array<IntImm> tvm::relax::Pool2DAttrs::dilation

◆ layout

ffi::String tvm::relax::Pool2DAttrs::layout

◆ out_layout

ffi::String tvm::relax::Pool2DAttrs::out_layout

◆ padding

ffi::Array<IntImm> tvm::relax::Pool2DAttrs::padding

◆ pool_size

ffi::Array<IntImm> tvm::relax::Pool2DAttrs::pool_size

◆ strides

ffi::Array<IntImm> tvm::relax::Pool2DAttrs::strides

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