<s> from fuel . datasets import H5PYDataset <EOL> from fuel . transformers . defaults import uint8_pixels_to_floatX <EOL> from fuel . utils import find_in_data_path <EOL> class SVHN ( H5PYDataset ) : <EOL> """<STR_LIT>""" <EOL> _filename = '<STR_LIT>' <EOL> default_transformers = uint8_pixels_to_floatX ( ( '<STR_LIT>' , ) ) <EOL> def __init__ ( self , which_format , which_sets , ** kwargs ) : <EOL> self . which_format = which_format <EOL> super ( SVHN , self ) . __init__ ( <EOL> file_or_path = find_in_data_path ( self . filename ) , <EOL> which_sets = which_sets , ** kwargs ) <EOL> @ property <EOL> def filename ( self ) : <EOL> return self . _filename . format ( self . which_format ) </s>
