SNABSuite
0.x
Spiking Neural Architecture Benchmark Suite
|
Categorical hinge loss. Use if weights are restricted to be >0. More...
#include <mnist_mlp.hpp>
Static Public Member Functions | |
static Real | calc_loss (const uint16_t label, const std::vector< Real > &output) |
static std::vector< Real > | calc_error (const uint16_t label, const std::vector< Real > &output) |
Categorical hinge loss. Use if weights are restricted to be >0.
Definition at line 71 of file mnist_mlp.hpp.
|
inlinestatic |
Definition at line 87 of file mnist_mlp.hpp.
|
inlinestatic |
Definition at line 73 of file mnist_mlp.hpp.