Module ImportFrom alias alias alias Import alias Import alias Import alias identifier Import alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Num Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Num Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A __future__ division print_function absolute_import N/A unittest N/A os N/A numpy np N/A deepdish dd TestUtil N/A N/A unittest TestCase N/A test_pad N/A N/A self N/A N/A N/A x N/A N/A np ones N/A 2 2 N/A y N/A N/A np array N/A N/A 0 0 0 0 0 0 N/A 0 0 1 1 0 0 N/A 0 0 1 1 0 0 N/A 0 0 0 0 0 0 N/A y1 N/A N/A N/A dd util pad x N/A 1 2 value 0.0 N/A N/A N/A N/A np testing assert_array_equal y y1 N/A x N/A N/A np ones N/A 2 2 N/A y N/A N/A np array N/A N/A 2 2 2 2 N/A 2 1 1 2 N/A 2 1 1 2 N/A 2 2 2 2 N/A y1 N/A N/A N/A dd util pad x 1 value 2.0 N/A N/A N/A N/A np testing assert_array_equal y y1 N/A test_pad_to_size N/A N/A self N/A N/A N/A x N/A N/A np ones N/A 2 2 N/A y N/A N/A np array N/A N/A 1 1 0 N/A 1 1 0 N/A 0 0 0 N/A y1 N/A N/A N/A dd util pad_to_size x N/A 3 3 value 0.0 N/A N/A N/A N/A np testing assert_array_equal y y1 N/A test_pad_repeat_border N/A N/A self N/A N/A N/A x N/A N/A np array N/A N/A 1.0 2.0 N/A 3.0 4.0 N/A y N/A N/A np array N/A N/A 1.0 1.0 1.0 2.0 2.0 2.0 N/A 1.0 1.0 1.0 2.0 2.0 2.0 N/A 1.0 1.0 1.0 2.0 2.0 2.0 N/A 3.0 3.0 3.0 4.0 4.0 4.0 N/A 3.0 3.0 3.0 4.0 4.0 4.0 N/A 3.0 3.0 3.0 4.0 4.0 4.0 N/A y1 N/A N/A N/A dd util pad_repeat_border x 2 N/A N/A N/A N/A np testing assert_array_equal y y1 N/A y N/A N/A np array N/A N/A 1.0 2.0 N/A 1.0 2.0 N/A 1.0 2.0 N/A 3.0 4.0 N/A 3.0 4.0 N/A 3.0 4.0 N/A y1 N/A N/A N/A dd util pad_repeat_border x N/A 2 0 N/A N/A N/A N/A np testing assert_array_equal y y1 N/A test_pad_repeat_border_corner N/A N/A self N/A N/A N/A x N/A N/A np array N/A N/A 1.0 2.0 N/A 3.0 4.0 N/A y N/A N/A np array N/A N/A 1.0 2.0 2.0 2.0 N/A 3.0 4.0 4.0 4.0 N/A 3.0 4.0 4.0 4.0 N/A 3.0 4.0 4.0 4.0 N/A y1 N/A N/A N/A dd util pad_repeat_border_corner x N/A 4 4 N/A N/A N/A N/A np testing assert_array_equal y y1 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main