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

Attributes used in instance_norm operator. More...

#include <nn.h>

Inheritance diagram for tvm::relax::InstanceNormAttrs:
Collaboration diagram for tvm::relax::InstanceNormAttrs:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.attrs.InstanceNormAttrs", InstanceNormAttrs, BaseAttrsNode)
 
- Public Member Functions inherited from tvm::AttrsNodeReflAdapter< InstanceNormAttrs >
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

int channel_axis
 
ffi::Array< Integeraxes
 
double epsilon
 
bool center
 
bool scale
 

Additional Inherited Members

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

Detailed Description

Attributes used in instance_norm operator.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

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

Member Data Documentation

◆ axes

ffi::Array<Integer> tvm::relax::InstanceNormAttrs::axes

◆ center

bool tvm::relax::InstanceNormAttrs::center

◆ channel_axis

int tvm::relax::InstanceNormAttrs::channel_axis

◆ epsilon

double tvm::relax::InstanceNormAttrs::epsilon

◆ scale

bool tvm::relax::InstanceNormAttrs::scale

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