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

Attributes used in nll_loss operator. More...

#include <nn.h>

Inheritance diagram for tvm::relax::NLLLossAttrs:
Collaboration diagram for tvm::relax::NLLLossAttrs:

Public Member Functions

 TVM_FFI_DECLARE_FINAL_OBJECT_INFO (NLLLossAttrs, BaseAttrsNode)
 
- Public Member Functions inherited from tvm::AttrsNodeReflAdapter< NLLLossAttrs >
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_DECLARE_BASE_OBJECT_INFO (BaseAttrsNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

String reduction
 
int ignore_index
 

Static Public Attributes

static constexpr const char * _type_key = "relax.attrs.NLLLossAttrs"
 
- Static Public Attributes inherited from tvm::BaseAttrsNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const char * _type_key = "ir.Attrs"
 

Detailed Description

Attributes used in nll_loss operator.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_FINAL_OBJECT_INFO()

tvm::relax::NLLLossAttrs::TVM_FFI_DECLARE_FINAL_OBJECT_INFO ( NLLLossAttrs  ,
BaseAttrsNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::relax::NLLLossAttrs::_type_key = "relax.attrs.NLLLossAttrs"
staticconstexpr

◆ ignore_index

int tvm::relax::NLLLossAttrs::ignore_index

◆ reduction

String tvm::relax::NLLLossAttrs::reduction

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