Module Expr Str ImportFrom alias alias alias alias ImportFrom alias alias Import alias Import alias Import alias Import alias identifier ImportFrom alias Import alias Import alias identifier ClassDef bases body FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore DictComp NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num comprehension NameStore ListLoad Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Num Assign AttributeStore Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call NameLoad Call AttributeLoad NameLoad attr ListLoad Str Str For NameStore ListLoad Str Str body Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr TupleLoad Num Num keyword BinOpMod Str NameLoad Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Expr Call NameLoad Call AttributeLoad NameLoad attr ListLoad Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Str attr TupleLoad Num Num keyword Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Str attr SubscriptLoad NameLoad Index Str decorator_list Call NameLoad Str decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore DictComp NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num comprehension NameStore ListLoad Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Num Assign AttributeStore Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Num NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad ListLoad Num Num With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Expr Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr ListLoad Str Str For NameStore ListLoad Str Str body Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr TupleLoad Num Num Num Num keyword BinOpMod Str NameLoad Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore DictComp NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num comprehension NameStore ListLoad Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Num Assign AttributeStore Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad For NameStore Call NameLoad Num Num body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str NameLoad NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad ListLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore DictComp NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num comprehension NameStore ListLoad Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Num Assign AttributeStore Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str NameLoad NameLoad keyword NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad BinOpMult ListLoad BinOpMult NameLoad Num Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore DictComp NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num comprehension NameStore ListLoad Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Num Assign AttributeStore Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str NameLoad NameLoad keyword NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad BinOpMult ListLoad NameLoad Num decorator_list Call NameLoad Str decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore DictComp NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num comprehension NameStore ListLoad Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Num Assign AttributeStore Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Num NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call NameLoad NameLoad ListLoad Num Num For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad ListLoad Str Str body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad orelse Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore DictComp NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num comprehension NameStore ListLoad Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Num Assign AttributeStore Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad For NameStore Call NameLoad Num Num body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str NameLoad NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad ListLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore DictComp NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num comprehension NameStore ListLoad Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Num Assign AttributeStore Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str NameLoad NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad BinOpMult ListLoad BinOpMult NameLoad Num Num For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad ListLoad Str Str body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad orelse Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore DictComp NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num comprehension NameStore ListLoad Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Num Assign AttributeStore Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str NameLoad NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad BinOpMult ListLoad BinOpMult NameLoad Num Num For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad ListLoad Str Str body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad orelse Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore DictComp NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num comprehension NameStore ListLoad Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Num Assign AttributeStore Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str NameLoad NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad ListLoad BinOpMult NameLoad Num For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad ListLoad Str body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad orelse Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore DictComp NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num comprehension NameStore ListLoad Str Str Str Assign AttributeStore NameLoad attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Num Assign AttributeStore Call NameLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str For NameStore ListLoad Str Str body For NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad BinOpMod BinOpAdd BinOpAdd Str NameLoad Str NameLoad Import alias Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str ListLoad Str Str NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Num Num ImportFrom alias alias Expr Call NameLoad Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad BinOpMult ListLoad BinOpMult Num Num Num Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad BinOpMult ListLoad BinOpMult Num Num Num For NameStore ListLoad Str Str body For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad ListLoad Str Str body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad BinOpMod BinOpAdd BinOpAdd Str NameLoad Str NameLoad orelse Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad BinOpMod BinOpAdd BinOpAdd Str NameLoad Str NameLoad decorator_list Call NameLoad Str Call NameLoad Str decorator_list
N/A N/A 
Created on Oct 30, 2015

@author: kashefy
 nose.tools assert_equal assert_false assert_list_equal assert_true mock patch PropertyMock N/A os N/A tempfile N/A shutil N/A numpy np numpy.testing assert_array_equal N/A h5py N/A inference infr Bunch N/A N/A __init__ N/A N/A self N/A kwds N/A N/A N/A N/A N/A self __dict__ update kwds N/A N/A TestInference N/A N/A test_forward N/A N/A self mock_net N/A N/A N/A b N/A k N/A Bunch data N/A N/A N/A np random rand 3 2 N/A k N/A x y z N/A N/A N/A N/A mock_net return_value forward return_value N/A N/A np zeros 1 N/A N/A N/A type N/A mock_net return_value blobs N/A PropertyMock return_value b N/A net N/A mock_net N/A N/A assert_false N/A N/A net forward called Problem with mocked forward() N/A out N/A N/A infr forward net N/A x z N/A N/A assert_true N/A N/A net forward called Problem with mocked forward() N/A N/A assert_list_equal N/A N/A out keys N/A x z N/A k N/A x z N/A N/A N/A assert_equal N/A N/A out N/A k shape N/A 3 2 msg N/A unexpected shape for blob %s k N/A N/A assert_array_equal N/A N/A b N/A k data N/A out N/A k N/A out N/A N/A infr forward net N/A z N/A N/A assert_list_equal N/A N/A out keys N/A z N/A N/A assert_equal N/A N/A out N/A z shape N/A 3 2 msg unexpected shape for blob z N/A N/A assert_array_equal N/A N/A b N/A z data N/A out N/A z N/A N/A patch nideep.eval.inference.caffe.Net N/A TestInferenceHDF5 N/A N/A setup_class N/A N/A self N/A N/A N/A N/A self dir_tmp N/A N/A tempfile mkdtemp N/A classmethod teardown_class N/A N/A self N/A N/A N/A N/A N/A shutil rmtree N/A self dir_tmp N/A classmethod test_infer_to_h5_fixed_dims N/A N/A self mock_net N/A N/A N/A b N/A k N/A Bunch data N/A N/A N/A np random rand 1 1 3 2 N/A k N/A x y z N/A N/A N/A N/A mock_net return_value forward return_value N/A N/A np zeros 1 N/A N/A N/A type N/A mock_net return_value blobs N/A PropertyMock return_value b N/A net N/A mock_net N/A fpath N/A N/A N/A os path join N/A self dir_tmp test_infer_to_h5_fixed_dims.h5 N/A N/A assert_false N/A N/A N/A os path isfile fpath N/A out N/A N/A infr infer_to_h5_fixed_dims net N/A x z 1 fpath N/A N/A assert_equal N/A N/A net forward call_count 1 N/A N/A assert_true N/A N/A N/A os path isfile fpath N/A N/A assert_list_equal out N/A 1 1 N/A N/A N/A h5py File fpath r f N/A N/A N/A assert_list_equal N/A N/A str k N/A k N/A N/A f keys N/A x z N/A k N/A x z N/A N/A N/A assert_equal N/A N/A f N/A k shape N/A 1 1 3 2 msg N/A unexpected shape for blob %s k N/A N/A assert_array_equal N/A N/A b N/A k data N/A f N/A k N/A N/A patch nideep.eval.inference.caffe.Net test_infer_to_h5_fixed_dims_n N/A N/A self mock_net N/A N/A N/A b N/A k N/A Bunch data N/A N/A N/A np random rand 1 1 3 2 N/A k N/A x y z N/A N/A N/A N/A mock_net return_value forward return_value N/A N/A np zeros 1 N/A N/A N/A type N/A mock_net return_value blobs N/A PropertyMock return_value b N/A n N/A range 1 10 N/A N/A net N/A mock_net N/A N/A N/A net reset_mock N/A fpath N/A N/A N/A os path join N/A self dir_tmp test_infer_to_h5_fixed_dims_n.h5 N/A out N/A N/A infr infer_to_h5_fixed_dims net N/A x z n fpath N/A N/A assert_equal N/A N/A net forward call_count n N/A N/A assert_list_equal out N/A n n N/A N/A patch nideep.eval.inference.caffe.Net test_infer_to_h5_fixed_dims_preserve_batch_no N/A N/A self mock_net N/A N/A N/A b N/A k N/A Bunch data N/A N/A N/A np random rand 4 1 3 2 N/A k N/A x y z N/A N/A N/A N/A mock_net return_value forward return_value N/A N/A np zeros 1 N/A N/A N/A type N/A mock_net return_value blobs N/A PropertyMock return_value b N/A net N/A mock_net N/A fpath N/A N/A N/A os path join N/A self dir_tmp test_infer_to_h5_fixed_dims_preserve_batch_no.h5 N/A N/A assert_false N/A N/A N/A os path isfile fpath N/A n 3 N/A out N/A N/A infr infer_to_h5_fixed_dims net N/A x z n fpath preserve_batch False N/A N/A assert_equal N/A N/A net forward call_count n N/A N/A assert_true N/A N/A N/A os path isfile fpath N/A N/A assert_list_equal out N/A N/A N/A n 4 2 N/A N/A patch nideep.eval.inference.caffe.Net test_infer_to_h5_fixed_dims_preserve_batch_yes N/A N/A self mock_net N/A N/A N/A b N/A k N/A Bunch data N/A N/A N/A np random rand 4 1 3 2 N/A k N/A x y z N/A N/A N/A N/A mock_net return_value forward return_value N/A N/A np zeros 1 N/A N/A N/A type N/A mock_net return_value blobs N/A PropertyMock return_value b N/A net N/A mock_net N/A fpath N/A N/A N/A os path join N/A self dir_tmp test_infer_to_h5_fixed_dims_preserve_batch_yes.h5 N/A N/A assert_false N/A N/A N/A os path isfile fpath N/A n 3 N/A out N/A N/A infr infer_to_h5_fixed_dims net N/A x z n fpath preserve_batch True N/A N/A assert_equal N/A N/A net forward call_count n N/A N/A assert_true N/A N/A N/A os path isfile fpath N/A N/A assert_list_equal out N/A N/A n 2 N/A N/A patch nideep.eval.inference.caffe.Net N/A TestInferenceLMDB N/A N/A setup_class N/A N/A self N/A N/A N/A N/A self dir_tmp N/A N/A tempfile mkdtemp N/A classmethod teardown_class N/A N/A self N/A N/A N/A N/A N/A shutil rmtree N/A self dir_tmp N/A classmethod test_infer_to_lmdb_fixed_dims N/A N/A self mock_net N/A N/A N/A b N/A k N/A Bunch data N/A N/A N/A np random rand 1 1 3 2 N/A k N/A x y z N/A N/A N/A N/A mock_net return_value forward return_value N/A N/A np zeros 1 N/A N/A N/A type N/A mock_net return_value blobs N/A PropertyMock return_value b N/A net N/A mock_net N/A dst_prefix N/A N/A N/A os path join N/A self dir_tmp test_infer_to_lmdb_fixed_dims_%s_lmdb N/A k N/A N/A b keys N/A N/A N/A assert_false N/A N/A N/A os path isdir N/A dst_prefix k N/A out N/A N/A infr infer_to_lmdb net N/A x z 1 dst_prefix N/A N/A assert_equal N/A N/A net forward call_count 1 N/A N/A assert_list_equal out N/A 1 1 N/A k N/A N/A b keys N/A N/A N/A k N/A x z N/A N/A N/A assert_true N/A N/A N/A os path isdir N/A dst_prefix k N/A N/A N/A assert_false N/A N/A N/A os path isdir N/A dst_prefix k N/A N/A patch nideep.eval.inference.caffe.Net test_infer_to_lmdb_fixed_dims_n N/A N/A self mock_net N/A N/A N/A b N/A k N/A Bunch data N/A N/A N/A np random rand 1 1 3 2 N/A k N/A x y z N/A N/A N/A N/A mock_net return_value forward return_value N/A N/A np zeros 1 N/A N/A N/A type N/A mock_net return_value blobs N/A PropertyMock return_value b N/A n N/A range 1 10 N/A N/A net N/A mock_net N/A N/A N/A net reset_mock N/A dst_prefix N/A N/A N/A os path join N/A self dir_tmp test_infer_to_lmdb_fixed_dims_n_%s_lmdb N/A out N/A N/A infr infer_to_lmdb net N/A x z n dst_prefix N/A N/A assert_equal N/A N/A net forward call_count n N/A N/A assert_list_equal out N/A n n N/A N/A patch nideep.eval.inference.caffe.Net test_infer_to_lmdb_fixed_dims_preserve_batch_no N/A N/A self mock_net N/A N/A N/A b N/A k N/A Bunch data N/A N/A N/A np random rand 4 1 3 2 N/A k N/A x y z N/A N/A N/A N/A mock_net return_value forward return_value N/A N/A np zeros 1 N/A N/A N/A type N/A mock_net return_value blobs N/A PropertyMock return_value b N/A net N/A mock_net N/A dst_prefix N/A N/A N/A os path join N/A self dir_tmp test_infer_to_lmdb_fixed_dims_preserve_batch_no_%s_lmdb N/A k N/A N/A b keys N/A N/A N/A assert_false N/A N/A N/A os path isdir N/A dst_prefix k N/A n 3 N/A out N/A N/A infr infer_to_lmdb net N/A x z n dst_prefix N/A N/A assert_equal N/A N/A net forward call_count n N/A N/A assert_list_equal out N/A N/A N/A n 4 2 N/A k N/A N/A b keys N/A N/A N/A k N/A x z N/A N/A N/A assert_true N/A N/A N/A os path isdir N/A dst_prefix k N/A N/A N/A assert_false N/A N/A N/A os path isdir N/A dst_prefix k N/A N/A patch nideep.eval.inference.caffe.Net test_infer_to_lmdb_cur_multi_key N/A N/A self mock_net N/A N/A N/A b N/A k N/A Bunch data N/A N/A N/A np random rand 4 1 3 2 N/A k N/A x y z N/A N/A N/A N/A mock_net return_value forward return_value N/A N/A np zeros 1 N/A N/A N/A type N/A mock_net return_value blobs N/A PropertyMock return_value b N/A net N/A mock_net N/A dst_prefix N/A N/A N/A os path join N/A self dir_tmp test_infer_to_lmdb_cur_multi_key_%s_lmdb N/A k N/A N/A b keys N/A N/A N/A assert_false N/A N/A N/A os path isdir N/A dst_prefix k N/A n 3 N/A out N/A N/A infr infer_to_lmdb_cur net N/A x z n dst_prefix N/A N/A assert_equal N/A N/A net forward call_count n N/A N/A assert_list_equal out N/A N/A N/A n 4 2 N/A k N/A N/A b keys N/A N/A N/A k N/A x z N/A N/A N/A assert_true N/A N/A N/A os path isdir N/A dst_prefix k N/A N/A N/A assert_false N/A N/A N/A os path isdir N/A dst_prefix k N/A N/A patch nideep.eval.inference.caffe.Net test_infer_to_lmdb_cur_single_key N/A N/A self mock_net N/A N/A N/A b N/A k N/A Bunch data N/A N/A N/A np random rand 4 1 3 2 N/A k N/A x y z N/A N/A N/A N/A mock_net return_value forward return_value N/A N/A np zeros 1 N/A N/A N/A type N/A mock_net return_value blobs N/A PropertyMock return_value b N/A net N/A mock_net N/A dst_prefix N/A N/A N/A os path join N/A self dir_tmp test_infer_to_lmdb_cur_single_key_%s_lmdb N/A k N/A N/A b keys N/A N/A N/A assert_false N/A N/A N/A os path isdir N/A dst_prefix k N/A n 3 N/A out N/A N/A infr infer_to_lmdb_cur net N/A z n dst_prefix N/A N/A assert_equal N/A N/A net forward call_count n N/A N/A assert_list_equal out N/A N/A n 4 N/A k N/A N/A b keys N/A N/A N/A k N/A z N/A N/A N/A assert_true N/A N/A N/A os path isdir N/A dst_prefix k N/A N/A N/A assert_false N/A N/A N/A os path isdir N/A dst_prefix k N/A N/A patch nideep.eval.inference.caffe.Net test_response_to_lmdb N/A N/A self mock_net mock_num N/A N/A N/A b N/A k N/A Bunch data N/A N/A N/A np random rand 4 1 3 2 N/A k N/A x y z N/A N/A mock_num return_value 3 N/A N/A N/A N/A mock_net return_value forward return_value N/A N/A np zeros 1 N/A N/A N/A type N/A mock_net return_value blobs N/A PropertyMock return_value b N/A net N/A mock_net N/A dst_prefix N/A N/A N/A os path join N/A self dir_tmp test_response_to_lmdb_ N/A m N/A train test N/A N/A k N/A N/A b keys N/A N/A N/A assert_false N/A N/A N/A os path isdir N/A dst_prefix N/A N/A N/A %s_ m _lmdb k N/A nideep N/A out N/A N/A N/A N/A nideep eval inference response_to_lmdb net.prototxt w.caffemodel N/A x z dst_prefix N/A N/A assert_equal N/A N/A net forward call_count N/A 3 2 caffe TRAIN TEST N/A N/A assert_list_equal N/A N/A out keys N/A TRAIN TEST N/A N/A assert_list_equal N/A out N/A TRAIN N/A N/A N/A 3 4 2 N/A N/A assert_list_equal N/A out N/A TEST N/A N/A N/A 3 4 2 N/A m N/A train test N/A N/A k N/A N/A b keys N/A N/A N/A k N/A x z N/A N/A N/A assert_true N/A N/A N/A os path isdir N/A dst_prefix N/A N/A N/A %s_ m _lmdb k N/A N/A N/A assert_false N/A N/A N/A os path isdir N/A dst_prefix N/A N/A N/A %s_ m _lmdb k N/A N/A patch nideep.eval.inference.est_min_num_fwd_passes N/A patch nideep.eval.inference.caffe.Net N/A