SmartEngine  1.6.0
Public Attributes | List of all members
SmartEngine::LossTrainerCInfo Struct Reference

Data used to construct an ILossTrainer instance. More...

#include <LossTrainer.h>

Inheritance diagram for SmartEngine::LossTrainerCInfo:
SmartEngine::ResourceCInfo SmartEngine::GeneticTrainerCInfo SmartEngine::GradientDescentTrainerCInfo

Public Attributes

IContextcontext = nullptr
 Context this trainer belongs to. Only trainers and graph nodes of the same context can be connected. More...
 
IGraphgraph = nullptr
 The graph to be trained. More...
 
- Public Attributes inherited from SmartEngine::ResourceCInfo
const char * resourceName = nullptr
 Optional resource name that will be used with Load() and Save() if no other name is provided. More...
 

Detailed Description

Data used to construct an ILossTrainer instance.

Member Data Documentation

◆ context

IContext* SmartEngine::LossTrainerCInfo::context = nullptr

Context this trainer belongs to. Only trainers and graph nodes of the same context can be connected.

◆ graph

IGraph* SmartEngine::LossTrainerCInfo::graph = nullptr

The graph to be trained.