Files
Flux/include/modules/neural_networks/activation_functions/Softmax.h
T
Bausager 88227a38fc Neural Network
Started on implementing neural network from NNFS. I've done ReLU and stopped at p.104. Softmax is not ready.
2025-10-03 20:54:37 +02:00

28 lines
419 B
C++

#pragma once
#include "./core/omp_config.h"
#include "./utils/vector.h"
#include "./utils/matrix.h"
#include "./utils/random.h"
namespace neural_networks{
template <typename T>
struct activation_softmax{
utils::Matrix<T> outputs;
void forward(utils::Matrix<T> inputs){
//outputs = numerics::max(inputs, T{0});
//outputs.print();
}
};
} // end namespace neural_networks