Skip to content

Commit fb1a863

Browse files
delete a typo in last commit
1 parent 539110b commit fb1a863

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/TensorFlowNET.Keras/Engine/Model.Fit.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ public History fit(IDatasetV2 dataset,
141141
int epochs = 1,
142142
int verbose = 1,
143143
List<ICallback> callbacks = null,
144-
//float validation_split = 0f,
145144
IDatasetV2 validation_data = null,
146145
bool shuffle = true,
147146
int initial_epoch = 0,
@@ -163,10 +162,8 @@ public History fit(IDatasetV2 dataset,
163162
Model = this,
164163
StepsPerExecution = _steps_per_execution
165164
});
166-
foreach( var (x,y) in dataset)
167-
{
168165

169-
}
166+
170167
return FitInternal(data_handler, epochs, verbose, callbacks, validation_data: validation_data,
171168
train_step_func: train_step_function);
172169
}

0 commit comments

Comments
 (0)