From 295f69cd96cc28ca83b930f9a16345be43f72954 Mon Sep 17 00:00:00 2001 From: Eric Cardozo <139732027+xEricCardozo@users.noreply.github.com> Date: Mon, 16 Oct 2023 15:47:31 -0300 Subject: [PATCH] Update model.cpp --- examples/model.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/model.cpp b/examples/model.cpp index 30b8c6b..0d8a437 100644 --- a/examples/model.cpp +++ b/examples/model.cpp @@ -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()); // this could be done without copies with a view. + input.copy(dataset.features()[batch].internal()); // I will fix this in the futuro so it will be prettier and without copies. targets.copy(dataset.targets()[batch].internal()); std::cout << "loss" << criterion.loss() << std::endl; @@ -51,4 +51,4 @@ int main() { } } -} \ No newline at end of file +}