Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Str TupleLoad Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str If CompareEq NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad orelse Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str decorator_list Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num body Expr Call AttributeLoad NameLoad attr TupleLoad BinOpPow Num NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad BinOpSub BinOpPow Num NameLoad Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd BinOpPow Num NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num body Expr Call AttributeLoad NameLoad attr TupleLoad BinOpPow Num NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpSub BinOpPow Num NameLoad Num Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd BinOpPow Num NameLoad Num Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num body Expr Call AttributeLoad NameLoad attr TupleLoad BinOpPow Num NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpSub BinOpPow Num NameLoad Num Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd BinOpPow Num NameLoad Num Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Num BinOpMult Num Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad Num BinOpMult Num Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd Num Num BinOpAdd BinOpMult Num Num Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd Num Num BinOpAdd BinOpMult Num Num Num keyword Num decorator_list decorator_list AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str If CompareEq NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad orelse Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str decorator_list Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num body Expr Call AttributeLoad NameLoad attr TupleLoad BinOpPow Num NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad BinOpSub BinOpPow Num NameLoad Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd BinOpPow Num NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num body Expr Call AttributeLoad NameLoad attr TupleLoad BinOpPow Num NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpSub BinOpPow Num NameLoad Num Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd BinOpPow Num NameLoad Num Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num body Expr Call AttributeLoad NameLoad attr TupleLoad BinOpPow Num NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpSub BinOpPow Num NameLoad Num Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd BinOpPow Num NameLoad Num Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Num BinOpMult Num Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad Num BinOpMult Num Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd Num Num BinOpAdd BinOpMult Num Num Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd Num Num BinOpAdd BinOpMult Num Num Num keyword Num decorator_list decorator_list AttributeLoad NameLoad attr
N/A N/A unittest N/A six N/A cupy cupy core cupy testing SimpleReductionFunction N/A N/A unittest TestCase N/A N/A _multiprocess_can_split_ True setUp N/A N/A self N/A N/A N/A N/A self my_int8_sum N/A N/A core create_reduction_func my_sum N/A b->b N/A in0 a + b out0 = a None N/A check_int8_sum N/A N/A self shape xp axis keepdims N/A None False N/A N/A a N/A N/A testing shaped_random shape xp b N/A N/A xp cupy N/A N/A N/A N/A self my_int8_sum a axis axis keepdims keepdims N/A N/A N/A N/A a sum axis axis keepdims keepdims dtype b N/A N/A N/A testing numpy_cupy_allclose accept_error False test_shape1 N/A N/A self N/A N/A N/A i N/A N/A N/A six moves range 1 10 N/A N/A N/A N/A self check_int8_sum N/A N/A 2 i N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 N/A test_shape2 N/A N/A self N/A N/A N/A i N/A N/A N/A six moves range 1 10 N/A N/A N/A N/A self check_int8_sum N/A N/A 2 i 1000 axis 0 N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 1000 axis 0 N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 1000 axis 0 N/A test_shape3 N/A N/A self N/A N/A N/A i N/A N/A N/A six moves range 1 10 N/A N/A N/A N/A self check_int8_sum N/A N/A 2 i 1000 axis 1 N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 1000 axis 1 N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 1000 axis 1 N/A test_shape4 N/A N/A self N/A N/A N/A N/A N/A self check_int8_sum N/A 512 N/A 256 256 axis 0 N/A N/A N/A self check_int8_sum N/A 512 N/A 256 256 axis 1 N/A N/A N/A self check_int8_sum N/A N/A 512 1 N/A N/A 256 256 1 axis 0 N/A N/A N/A self check_int8_sum N/A N/A 512 1 N/A N/A 256 256 1 axis 1 N/A N/A N/A testing gpu TestReductionKernel N/A N/A unittest TestCase N/A N/A _multiprocess_can_split_ True setUp N/A N/A self N/A N/A N/A N/A self my_sum N/A N/A core ReductionKernel T x T out x a + b out = a 0 my_sum N/A check_int8_sum N/A N/A self shape xp axis keepdims N/A None False N/A N/A a N/A N/A testing shaped_random shape xp b N/A N/A xp cupy N/A N/A N/A N/A self my_sum a axis axis keepdims keepdims N/A N/A N/A N/A a sum axis axis keepdims keepdims dtype b N/A N/A N/A testing numpy_cupy_allclose accept_error False test_shape1 N/A N/A self N/A N/A N/A i N/A N/A N/A six moves range 1 10 N/A N/A N/A N/A self check_int8_sum N/A N/A 2 i N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 N/A test_shape2 N/A N/A self N/A N/A N/A i N/A N/A N/A six moves range 1 10 N/A N/A N/A N/A self check_int8_sum N/A N/A 2 i 1000 axis 0 N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 1000 axis 0 N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 1000 axis 0 N/A test_shape3 N/A N/A self N/A N/A N/A i N/A N/A N/A six moves range 1 10 N/A N/A N/A N/A self check_int8_sum N/A N/A 2 i 1000 axis 1 N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 1000 axis 1 N/A N/A N/A self check_int8_sum N/A N/A N/A 2 i 1 1000 axis 1 N/A test_shape4 N/A N/A self N/A N/A N/A N/A N/A self check_int8_sum N/A 512 N/A 256 256 axis 0 N/A N/A N/A self check_int8_sum N/A 512 N/A 256 256 axis 1 N/A N/A N/A self check_int8_sum N/A N/A 512 1 N/A N/A 256 256 1 axis 0 N/A N/A N/A self check_int8_sum N/A N/A 512 1 N/A N/A 256 256 1 axis 1 N/A N/A N/A testing gpu