tvm
|
Attributes used in batch_norm operator. More...
#include <nn.h>
Public Member Functions | |
TVM_FFI_DECLARE_FINAL_OBJECT_INFO (BatchNormAttrs, 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 | axis |
double | epsilon |
bool | center |
bool | scale |
double | momentum |
bool | training |
Static Public Attributes | |
static constexpr const char * | _type_key = "relax.attrs.BatchNormAttrs" |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const char * | _type_key = "ir.Attrs" |
Attributes used in batch_norm operator.
|
inlinestatic |
tvm::relax::BatchNormAttrs::TVM_FFI_DECLARE_FINAL_OBJECT_INFO | ( | BatchNormAttrs | , |
BaseAttrsNode | |||
) |
|
staticconstexpr |
int tvm::relax::BatchNormAttrs::axis |
bool tvm::relax::BatchNormAttrs::center |
double tvm::relax::BatchNormAttrs::epsilon |
double tvm::relax::BatchNormAttrs::momentum |
bool tvm::relax::BatchNormAttrs::scale |
bool tvm::relax::BatchNormAttrs::training |