Skip to content

Commit

Permalink
Apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 17, 2023
1 parent a689564 commit 0f8c736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RTNeural/activation/activation_eigen.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class SoftmaxActivation : public Activation<T>
{
inVec = Eigen::Map<const Eigen::Matrix<T, Eigen::Dynamic, 1>, RTNeuralEigenAlignment>(
input, Layer<T>::in_size, 1);
outVec = MathsProvider::exp (inVec);
outVec = MathsProvider::exp(inVec);
outVec = outVec / outVec.sum();

std::copy(outVec.data(), outVec.data() + Layer<T>::in_size, out);
Expand Down

0 comments on commit 0f8c736

Please sign in to comment.