I've created the optimizer class
This commit is contained in:
Bausager committed 2026-08-04 18:55:30 +02:00
1 parent 11da534fd6
commit b52c128496
15 files changed
+1207 -48

No files matched your search

+2 -2
View File
@@ -114,7 +114,7 @@ struct loss{
* @param y_true Vector of true label of data.
*
*/
bool calculate(
virtual bool calculate(
const panic::tensor::real_matrix& y_pred,
const panic::tensor::uint_vector& y_true);
@@ -125,7 +125,7 @@ struct loss{
* @param y_true Matrix of true label of data.
*
*/
bool calculate(
virtual bool calculate(
const panic::tensor::real_matrix& y_pred,
const panic::tensor::real_matrix& y_true);
@@ -83,7 +83,6 @@ struct loss_categorical_crossentropy: loss{
const panic::tensor::real_matrix& y_true);
/**
* @brief backward function to calculate from losses
*