OpenNN
Open-source neural networks library
Loading...
Searching...
No Matches
opennn::Loss::EvaluationResult Struct Reference

Result of calculate_error; accuracy and active_tokens_count are populated only by classification losses. More...

#include <loss.h>

Public Attributes

float error = 0.0f
 
float accuracy = 0.0f
 
Index active_tokens_count = 0
 

Detailed Description

Result of calculate_error; accuracy and active_tokens_count are populated only by classification losses.

Member Data Documentation

◆ accuracy

float opennn::Loss::EvaluationResult::accuracy = 0.0f

◆ active_tokens_count

Index opennn::Loss::EvaluationResult::active_tokens_count = 0

◆ error

float opennn::Loss::EvaluationResult::error = 0.0f