Module Import alias Import alias Import alias Import alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num Assert CompareIn NameLoad TupleLoad Num Num BinOpMod Str NameLoad For NameStore Call NameLoad NameLoad body Assign TupleStore NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad Assert CompareIn NameLoad TupleLoad Num Num BinOpMod Str NameLoad Assign NameStore BinOpMult NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Str NameLoad NameLoad Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad BinOpMult Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore GeneratorExp Call NameLoad NameLoad Num comprehension NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad BinOpMult Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore GeneratorExp Call NameLoad NameLoad Num comprehension NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list
N/A N/A itertools N/A os N/A scipy N/A struct pybrain.datasets SupervisedDataSet labels N/A N/A filename N/A N/A N/A fp N/A open filename N/A N/A magicnumber length N/A N/A struct unpack >ii N/A N/A fp read 8 N/A N/A magicnumber N/A 2049 2051 N/A Not an MNIST file: %i magicnumber N/A _ N/A range length N/A N/A N/A label N/A N/A struct unpack B N/A N/A fp read 1 N/A N/A label N/A images N/A N/A filename N/A N/A N/A fp N/A open filename rb N/A chunk N/A N/A fp read 16 N/A N/A magicnumber length numrows numcols N/A N/A struct unpack >iiii chunk N/A N/A magicnumber N/A 2049 2051 N/A Not an MNIST file: %i magicnumber N/A imagesize N/A numrows numcols N/A _ N/A range length N/A N/A imagestring N/A N/A fp read imagesize N/A image N/A N/A struct unpack N/A B imagesize imagestring N/A N/A N/A N/A scipy array image N/A flaggedArrayByIndex N/A N/A idx length N/A N/A N/A arr N/A N/A scipy zeros length N/A N/A arr N/A idx 1.0 N/A arr N/A makeMnistDataSets N/A N/A path N/A N/A N/A Return a pair consisting of two datasets, the first being the training
    and the second being the test dataset. N/A test N/A SupervisedDataSet N/A 28 28 10 N/A test_image_file N/A N/A N/A os path join path t10k-images-idx3-ubyte N/A test_label_file N/A N/A N/A os path join path t10k-labels-idx1-ubyte N/A test_images N/A images test_image_file N/A test_labels N/A N/A flaggedArrayByIndex l 10 N/A l N/A labels test_label_file N/A N/A image label N/A zip test_images test_labels N/A N/A N/A N/A test addSample image label N/A train N/A SupervisedDataSet N/A 28 28 10 N/A train_image_file N/A N/A N/A os path join path train-images-idx3-ubyte N/A train_label_file N/A N/A N/A os path join path train-labels-idx1-ubyte N/A train_images N/A images train_image_file N/A train_labels N/A N/A flaggedArrayByIndex l 10 N/A l N/A labels train_label_file N/A N/A image label N/A zip train_images train_labels N/A N/A N/A N/A train addSample image label N/A N/A train test N/A