Module Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Import alias Import alias Import alias identifier Import alias Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Assign NameStore BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore Str Assign NameStore Call NameLoad keyword Call AttributeLoad Str attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr ListLoad Str Str Str Str Str Str Str Str Str Str Assign AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign NameStore BinOpAdd ListComp BinOpMod Str NameLoad comprehension NameStore Call NameLoad Num Num ListLoad Str Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr TupleLoad Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr BinOpAdd TupleLoad Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad AugAssignDiv NameStore Num Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad decorator_list decorator_list
N/A N/A logging N/A logger N/A N/A logging getLogger __name__ N/A os N/A cPickle N/A numpy np N/A theano N/A floatX N/A N/A theano config floatX mozi.utils.utils get_file make_one_hot mozi.datasets.dataset SingleBlock Cifar10 N/A SingleBlock N/A __init__ N/A N/A self flatten N/A False kwargs N/A N/A im_dir N/A N/A N/A os environ N/A MOZI_DATA_PATH /cifar10/ N/A path http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz N/A im_dir N/A get_file fpath N/A N/A {}/cifar-10-python.tar.gz format im_dir origin path untar True N/A N/A self label_names N/A airplane automobile bird cat deer dog frog horse ship truck N/A N/A self img_shape N/A 3 32 32 N/A N/A self img_size N/A N/A np prod N/A self img_shape N/A N/A self n_classes 10 N/A fnames N/A N/A N/A data_batch_%i i N/A i N/A range 1 6 N/A test_batch N/A X N/A N/A y N/A N/A fname fnames N/A N/A data_path N/A N/A {}/{} format im_dir fname N/A N/A open data_path fin N/A N/A data_batch N/A N/A cPickle load fin N/A flatten N/A N/A N/A N/A X extend N/A N/A N/A data_batch N/A data reshape N/A N/A len N/A data_batch N/A data N/A self img_size N/A N/A N/A N/A X extend N/A N/A N/A data_batch N/A data reshape N/A N/A N/A len N/A data_batch N/A data N/A self img_shape N/A N/A N/A y extend N/A data_batch N/A labels N/A X_npy N/A N/A np array X dtype floatX N/A X_npy 255.0 N/A y_npy N/A make_one_hot y onehot_size N/A self n_classes N/A ridx N/A N/A np arange N/A len X_npy N/A N/A N/A N/A np random shuffle ridx N/A X_npy N/A X_npy N/A ridx N/A y_npy N/A y_npy N/A ridx N/A N/A N/A N/A super Cifar10 self __init__ X X_npy y y_npy kwargs N/A N/A