Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/TensorFlowNET.Keras/Engine/Model.Predict.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Tensors PredictInternal(DataHandler data_handler, int verbose)
Steps = data_handler.Inferredsteps
});

Tensor batch_outputs = null;
Tensors batch_outputs = null;
_predict_counter.assign(0);
callbacks.on_predict_begin();
foreach (var (epoch, iterator) in data_handler.enumerate_epochs())
Expand All @@ -95,7 +95,7 @@ Tensors PredictInternal(DataHandler data_handler, int verbose)
var tmp_batch_outputs = run_predict_step(iterator);
if (batch_outputs == null)
{
batch_outputs = tmp_batch_outputs[0];
batch_outputs = tmp_batch_outputs;
}
else
{
Expand Down