Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad Call NameLoad Call NameLoad Num attr keyword ListLoad Call NameLoad Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad Str Assert CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Assert CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str ListLoad Num Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num For NameStore Call NameLoad Num body Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num Index Str Dict Str BinOpMod NameLoad Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad Call NameLoad Num attr Assign NameStore Call NameLoad Call NameLoad NameLoad keyword ListLoad Call NameLoad Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str keyword Lambda arguments args NameParam defaults CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Num Expr Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Assert CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num For NameStore Call NameLoad Num body Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num Index Str Dict Str BinOpMod NameLoad Num decorator_list Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword Call AttributeLoad Call NameLoad Call NameLoad attr keyword ListLoad Call NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assert Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assert UnaryOpNot Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad keyword ListLoad NameLoad Call NameLoad keyword NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIn Str AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword ListLoad NameLoad Call NameLoad keyword NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIn Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list
N/A N/A os N/A signal N/A time itertools count multiprocessing Process fuel.datasets IterableDataset mock MagicMock numpy.testing assert_raises six.moves cPickle blocks.main_loop MainLoop blocks.extensions TrainingExtension FinishAfter Printing blocks.utils unpack blocks.config config blocks.utils.testing MockAlgorithm MockMainLoop WriteBatchExtension N/A TrainingExtension N/A N/A Writes data saved by MockAlgorithm to the log. after_batch N/A N/A self _ N/A N/A N/A N/A N/A N/A N/A self main_loop log current_row N/A batch N/A N/A N/A self main_loop algorithm batch N/A N/A test_main_loop N/A N/A N/A N/A N/A old_config_profile_value N/A config profile N/A N/A config profile True N/A main_loop N/A MainLoop N/A MockAlgorithm N/A N/A N/A IterableDataset N/A range 10 get_example_stream extensions N/A N/A WriteBatchExtension N/A FinishAfter after_n_epochs 2 N/A N/A N/A main_loop run N/A N/A assert_raises AttributeError getattr main_loop model N/A N/A N/A N/A N/A main_loop log status N/A iterations_done 20 N/A N/A N/A N/A N/A main_loop log status N/A _epoch_ends N/A 10 20 N/A N/A N/A len N/A main_loop log 20 N/A i N/A range 20 N/A N/A N/A N/A N/A N/A main_loop log N/A N/A i 1 N/A batch N/A data N/A i 10 N/A N/A config profile old_config_profile_value N/A test_training_resumption N/A N/A N/A N/A do_test N/A N/A with_serialization N/A N/A N/A data_stream N/A N/A N/A IterableDataset N/A range 10 get_example_stream N/A main_loop N/A MainLoop N/A MockAlgorithm data_stream extensions N/A N/A WriteBatchExtension N/A FinishAfter after_n_batches 14 N/A N/A N/A main_loop run N/A N/A N/A N/A N/A main_loop log status N/A iterations_done 14 N/A with_serialization N/A N/A main_loop N/A N/A cPickle loads N/A N/A cPickle dumps main_loop N/A finish_after N/A unpack N/A ext N/A ext N/A main_loop extensions N/A isinstance ext FinishAfter singleton True N/A N/A N/A finish_after add_condition N/A after_batch predicate N/A N/A N/A log N/A N/A N/A N/A log status N/A iterations_done 27 N/A N/A N/A main_loop run N/A N/A N/A N/A N/A main_loop log status N/A iterations_done 27 N/A N/A N/A N/A N/A main_loop log status N/A epochs_done 2 N/A i N/A range 27 N/A N/A N/A N/A N/A N/A main_loop log N/A N/A i 1 N/A batch N/A data N/A i 10 N/A N/A N/A do_test False N/A N/A do_test True N/A test_training_interrupt N/A N/A N/A N/A process_batch N/A N/A batch N/A N/A N/A N/A N/A time sleep 0.1 N/A N/A algorithm N/A MockAlgorithm N/A N/A algorithm process_batch process_batch N/A main_loop N/A MockMainLoop algorithm algorithm data_stream N/A N/A N/A IterableDataset N/A count get_example_stream extensions N/A N/A Printing N/A p N/A Process target N/A main_loop run N/A N/A N/A p start N/A N/A N/A time sleep 0.1 N/A N/A N/A os kill N/A p pid N/A signal SIGINT N/A N/A N/A time sleep 0.1 N/A N/A N/A p is_alive N/A N/A N/A os kill N/A p pid N/A signal SIGINT N/A N/A N/A time sleep 0.2 N/A N/A N/A N/A p is_alive N/A N/A N/A p join N/A test_error N/A N/A N/A N/A N/A ext N/A TrainingExtension N/A N/A ext after_batch N/A MagicMock side_effect KeyError N/A N/A ext on_error N/A MagicMock N/A main_loop N/A MockMainLoop extensions N/A ext N/A FinishAfter after_epoch True N/A N/A assert_raises KeyError N/A main_loop run N/A N/A N/A N/A ext on_error assert_called_once_with N/A N/A got_exception N/A N/A main_loop log current_row N/A N/A ext on_error N/A MagicMock side_effect AttributeError N/A main_loop N/A MockMainLoop extensions N/A ext N/A FinishAfter after_epoch True N/A N/A assert_raises KeyError N/A main_loop run N/A N/A N/A N/A ext on_error assert_called_once_with N/A N/A got_exception N/A N/A main_loop log current_row N/A