Fix model weights export

This commit is contained in:
2024-04-21 00:05:56 +02:00
parent 9c5d853b75
commit d64a28bc9c
3 changed files with 10 additions and 9 deletions

View File

@@ -43,6 +43,7 @@ float* Model::predict(const float* input) {
float* d_input = inputLayer->forward(input);
for (auto& layer : layers) {
std::cout << layer << std::endl;
d_input = layer->forward(d_input);
}