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

Attributes for relax.quantize/relax.dequantize operator. More...

#include <qdq.h>

Inheritance diagram for tvm::relax::QuantizeAttrs:
Collaboration diagram for tvm::relax::QuantizeAttrs:

Public Member Functions

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

DataType out_dtype
 
int axis
 

Additional Inherited Members

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

Detailed Description

Attributes for relax.quantize/relax.dequantize operator.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

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

Member Data Documentation

◆ axis

int tvm::relax::QuantizeAttrs::axis

◆ out_dtype

DataType tvm::relax::QuantizeAttrs::out_dtype

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