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

Attributes used in batch_norm operator. More...

#include <nn.h>

Inheritance diagram for tvm::relax::BatchNormAttrs:
Collaboration diagram for tvm::relax::BatchNormAttrs:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.attrs.BatchNormAttrs", BatchNormAttrs, AttrsNode)
 
- Public Member Functions inherited from tvm::AttrsNode
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Attrs", AttrsNode, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

int axis
 
double epsilon
 
bool center
 
bool scale
 
double momentum
 
bool training
 

Additional Inherited Members

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

Detailed Description

Attributes used in batch_norm operator.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::relax::BatchNormAttrs::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "relax.attrs.BatchNormAttrs"  ,
BatchNormAttrs  ,
AttrsNode   
)

Member Data Documentation

◆ axis

int tvm::relax::BatchNormAttrs::axis

◆ center

bool tvm::relax::BatchNormAttrs::center

◆ epsilon

double tvm::relax::BatchNormAttrs::epsilon

◆ momentum

double tvm::relax::BatchNormAttrs::momentum

◆ scale

bool tvm::relax::BatchNormAttrs::scale

◆ training

bool tvm::relax::BatchNormAttrs::training

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