tvm
|
Attributes used for the padding operator. More...
#include <nn.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.attrs.PadAttrs", PadAttrs, 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< Integer > | pad_width |
double | pad_value = 0.0 |
tvm::ffi::String | pad_mode |
Additional Inherited Members | |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
Attributes used for the padding operator.
|
inlinestatic |
tvm::relax::PadAttrs::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "relax.attrs.PadAttrs" | , |
PadAttrs | , | ||
BaseAttrsNode | |||
) |
tvm::ffi::String tvm::relax::PadAttrs::pad_mode |
double tvm::relax::PadAttrs::pad_value = 0.0 |
ffi::Array<Integer> tvm::relax::PadAttrs::pad_width |