tvm
|
Attributes used in group_norm operator. More...
#include <nn.h>
Public Member Functions | |
TVM_FFI_DECLARE_FINAL_OBJECT_INFO (GroupNormAttrs, 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_DECLARE_BASE_OBJECT_INFO (BaseAttrsNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
Public Attributes | |
int | num_groups |
int | channel_axis |
Array< Integer > | axes |
double | epsilon |
bool | center |
bool | scale |
Static Public Attributes | |
static constexpr const char * | _type_key = "relax.attrs.GroupNormAttrs" |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const char * | _type_key = "ir.Attrs" |
Attributes used in group_norm operator.
|
inlinestatic |
tvm::relax::GroupNormAttrs::TVM_FFI_DECLARE_FINAL_OBJECT_INFO | ( | GroupNormAttrs | , |
BaseAttrsNode | |||
) |
|
staticconstexpr |
Array<Integer> tvm::relax::GroupNormAttrs::axes |
bool tvm::relax::GroupNormAttrs::center |
int tvm::relax::GroupNormAttrs::channel_axis |
double tvm::relax::GroupNormAttrs::epsilon |
int tvm::relax::GroupNormAttrs::num_groups |
bool tvm::relax::GroupNormAttrs::scale |