ONE - On-device Neural Engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
onert::ir::train::LossInfo Struct Reference

#include <LossInfo.h>

Public Member Functions

 LossInfo ()
 

Data Fields

LossCode loss_code
 
LossReductionType reduction_type
 
std::variant< std::monostate, CategoricalCrossentropyParamloss_param
 

Detailed Description

Definition at line 41 of file LossInfo.h.

Constructor & Destructor Documentation

◆ LossInfo()

onert::ir::train::LossInfo::LossInfo ( )
inline

Definition at line 47 of file LossInfo.h.

49 loss_param{CategoricalCrossentropyParam{-1, 0.0f}}
50 {
51 }
LossReductionType reduction_type
Definition LossInfo.h:44
std::variant< std::monostate, CategoricalCrossentropyParam > loss_param
Definition LossInfo.h:45

Field Documentation

◆ loss_code

◆ loss_param

std::variant<std::monostate, CategoricalCrossentropyParam> onert::ir::train::LossInfo::loss_param

Definition at line 45 of file LossInfo.h.

Referenced by onert::backend::train::KernelGenerator::visit().

◆ reduction_type


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