You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

DatasetAdapter.cs 429 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using Tensorflow.Keras.ArgsDefinition;
  5. namespace Tensorflow.Keras.Engine.DataAdapters
  6. {
  7. public class DatasetAdapter : DataAdapter, IDataAdapter
  8. {
  9. public DatasetAdapter(DataAdapterArgs args)
  10. {
  11. this.args = args;
  12. dataset = args.Dataset;
  13. }
  14. public override int GetSize()
  15. => -1;
  16. }
  17. }