Module Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad Str attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A os N/A sys N/A logging N/A unittest N/A cpath N/A N/A N/A os path dirname N/A N/A N/A os path realpath __file__ N/A root_path N/A N/A N/A os path abspath N/A N/A N/A os path join cpath .. N/A N/A N/A N/A sys path insert 0 root_path N/A N/A N/A os environ N/A PATH N/A N/A {0}:{1} format root_path N/A N/A os environ N/A PATH N/A DATA_PATH N/A N/A N/A os path join root_path data N/A mnist LoaderTestCase N/A N/A unittest TestCase N/A test_dataset_lengths N/A N/A self N/A N/A N/A mn N/A N/A mnist MNIST DATA_PATH N/A N/A test_img test_label N/A N/A mn load_testing N/A N/A train_img train_label N/A N/A mn load_training N/A N/A N/A self assertEqual N/A len test_img N/A len test_label N/A N/A N/A self assertEqual N/A len test_img 10000 N/A N/A N/A self assertEqual N/A len train_img N/A len train_label N/A N/A N/A self assertEqual N/A len train_img 60000 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A logging basicConfig level N/A logging INFO N/A N/A N/A unittest main