Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Update model.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
xEricCardozo authored Oct 16, 2023
1 parent 295f69c commit 4fae9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ int main() {
std::cout << "Epoch: " << epoch + 1 << std::endl;

for(int batch = 0; batch < dataset.lenght(); ++batch) {
input.copy(dataset.features()[batch].internal()); // I will fix this in the futuro so it will be prettier and without copies.
input.copy(dataset.features()[batch].internal()); // I will fix this in the future so it will be prettier and without copies.
targets.copy(dataset.targets()[batch].internal());

std::cout << "loss" << criterion.loss() << std::endl;
Expand Down

0 comments on commit 4fae9ae

Please sign in to comment.