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

Attributes used for the padding operator. More...

#include <nn.h>

Inheritance diagram for tvm::relax::PadAttrs:
Collaboration diagram for tvm::relax::PadAttrs:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.attrs.PadAttrs", PadAttrs, BaseAttrsNode)
 
- Public Member Functions inherited from tvm::AttrsNodeReflAdapter< PadAttrs >
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< Integerpad_width
 
double pad_value = 0.0
 
tvm::ffi::String pad_mode
 

Additional Inherited Members

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

Detailed Description

Attributes used for the padding operator.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

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

Member Data Documentation

◆ pad_mode

tvm::ffi::String tvm::relax::PadAttrs::pad_mode

◆ pad_value

double tvm::relax::PadAttrs::pad_value = 0.0

◆ pad_width

ffi::Array<Integer> tvm::relax::PadAttrs::pad_width

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