Module Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Import alias identifier Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Slice Num attr TupleLoad Num BinOpMult Num Num attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Num Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Slice Num attr TupleLoad Num BinOpMult Num Num attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list
N/A N/A sys N/A N/A N/A N/A sys path append .. N/A numpy np N/A os time time collections Counter N/A random matplotlib pyplot plt lib.data_utils shuffle lib.config data_dir mnist N/A N/A N/A N/A N/A fd N/A open N/A N/A N/A os path join data_dir train-images.idx3-ubyte N/A loaded N/A N/A np fromfile file fd dtype N/A np uint8 N/A trX N/A N/A N/A N/A N/A loaded N/A 16 reshape N/A 60000 N/A 28 28 astype float N/A fd N/A open N/A N/A N/A os path join data_dir train-labels.idx1-ubyte N/A loaded N/A N/A np fromfile file fd dtype N/A np uint8 N/A trY N/A N/A N/A loaded N/A 8 reshape 60000 N/A fd N/A open N/A N/A N/A os path join data_dir t10k-images.idx3-ubyte N/A loaded N/A N/A np fromfile file fd dtype N/A np uint8 N/A teX N/A N/A N/A N/A N/A loaded N/A 16 reshape N/A 10000 N/A 28 28 astype float N/A fd N/A open N/A N/A N/A os path join data_dir t10k-labels.idx1-ubyte N/A loaded N/A N/A np fromfile file fd dtype N/A np uint8 N/A teY N/A N/A N/A loaded N/A 8 reshape 10000 N/A trY N/A N/A np asarray trY N/A teY N/A N/A np asarray teY N/A N/A trX teX trY teY N/A mnist_with_valid_set N/A N/A N/A N/A N/A N/A trX teX trY teY N/A mnist N/A N/A trX trY N/A shuffle trX trY N/A vaX N/A trX N/A 50000 N/A vaY N/A trY N/A 50000 N/A trX N/A trX N/A 50000 N/A trY N/A trY N/A 50000 N/A N/A trX vaX teX trY vaY teY N/A