Save
I've created the optimizer class
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user