Пример #1
0
 public MNISTFile(MNISTFileType type, string url, string sha1)
 {
     Type     = type;
     Url      = url;
     Sha1     = sha1;
     FileName = Path.GetFileName(Url);
     ;
 }
Пример #2
0
 public MNISTFile FindByType(MNISTFileType type)
 {
     return(_files.First(file => file.Type == type));
 }