public MNISTFile(MNISTFileType type, string url, string sha1) { Type = type; Url = url; Sha1 = sha1; FileName = Path.GetFileName(Url); ; }
public MNISTFile FindByType(MNISTFileType type) { return(_files.First(file => file.Type == type)); }