#include <mnist_mlp.hpp>
|
void | setup (std::vector< cypress::Matrix< Real >> &layers) |
|
void | constrain_weights (std::vector< cypress::Matrix< Real >> &layers) |
|
Definition at line 163 of file mnist_mlp.hpp.
void MNIST::PositiveLimitedWeights::constrain_weights |
( |
std::vector< cypress::Matrix< Real >> & |
layers | ) |
|
|
inline |
void MNIST::PositiveLimitedWeights::setup |
( |
std::vector< cypress::Matrix< Real >> & |
layers | ) |
|
|
inline |
Definition at line 167 of file mnist_mlp.hpp.
169 for (
auto &layer : layers) {
Real max_weight(const T &json)
Calculate the max weight, ignore negative values.
Real MNIST::PositiveLimitedWeights::m_max = 0.0 |
The documentation for this class was generated from the following file: