We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 875063a commit e5837dcCopy full SHA for e5837dc
src/TensorFlowNET.Keras/Engine/DataAdapters/TensorLikeDataAdapter.cs
@@ -21,7 +21,7 @@ public TensorLikeDataAdapter(DataAdapterArgs args)
21
{
22
this.args = args;
23
_process_tensorlike();
24
- num_samples = (int)args.X[0].shape[0];
+ num_samples = (int)args.X.shape[0];
25
var batch_size = args.BatchSize == -1 ? 32 : args.BatchSize;
26
_batch_size = batch_size;
27
_size = Convert.ToInt32(Math.Ceiling(num_samples / (batch_size + 0.0f)));
0 commit comments