ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert_micro::OMTrainingContext Struct Reference

#include <OMConfig.h>

Data Fields

uint32_t batch_size = 1
 
uint32_t num_of_train_layers = 0
 
OMTrainOptimizer optimizer = SGD
 
OMLoss loss = MSE
 
float learning_rate = 0.001f
 
float beta = 0.9f
 
float beta_squares = 0.9f
 
float epsilon = 10e-8
 
uint32_t num_step = 0
 
uint32_t num_epoch = 0
 
uint32_t epochs = 0
 
char * training_config_info_data = nullptr
 

Detailed Description

Definition at line 74 of file OMConfig.h.

Field Documentation

◆ batch_size

◆ beta

float onert_micro::OMTrainingContext::beta = 0.9f

◆ beta_squares

float onert_micro::OMTrainingContext::beta_squares = 0.9f

◆ epochs

uint32_t onert_micro::OMTrainingContext::epochs = 0

Definition at line 86 of file OMConfig.h.

Referenced by entry().

◆ epsilon

float onert_micro::OMTrainingContext::epsilon = 10e-8

Definition at line 83 of file OMConfig.h.

Referenced by entry(), and onert_micro::train::optimizers::Adam::updateWeights().

◆ learning_rate

float onert_micro::OMTrainingContext::learning_rate = 0.001f

◆ loss

OMLoss onert_micro::OMTrainingContext::loss = MSE

Definition at line 79 of file OMConfig.h.

Referenced by entry(), and nnfw_session::train_get_loss().

◆ num_epoch

uint32_t onert_micro::OMTrainingContext::num_epoch = 0

Definition at line 85 of file OMConfig.h.

Referenced by nnfw_session::train_run().

◆ num_of_train_layers

◆ num_step

uint32_t onert_micro::OMTrainingContext::num_step = 0

◆ optimizer

OMTrainOptimizer onert_micro::OMTrainingContext::optimizer = SGD

Definition at line 78 of file OMConfig.h.

Referenced by entry(), and nnfw_session::train_set_traininfo().

◆ training_config_info_data

char* onert_micro::OMTrainingContext::training_config_info_data = nullptr

Definition at line 88 of file OMConfig.h.


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