Exemple #1
0
 public ImageDataset(string path, ReadOnlySpan<int> dimensions, int batchSize, PreprocessMethods preprocessMethods, PostprocessMethods postprocessMethod)
     : base(path, _allowdExtensions, dimensions, batchSize, postprocessMethod)
 {
     _preprocessMethods = preprocessMethods;
 }
Exemple #2
0
 public RawDataset(string path, ReadOnlySpan<int> dimensions, int batchSize, PreprocessMethods preprocessMethods, PostprocessMethods postprocessMethod, float? mean = null, float? std = null)
     : base(path, null, dimensions, batchSize, postprocessMethod, mean, std)
 {
     _preprocessMethods = preprocessMethods;
 }