def test_ReduceSumSquare(tmpdir, dtype): with C.default_options(dtype=dtype): data = np.array( [[[1, 2], [3, 4]], [[5, 6], [7, 8]], [[9, 10], [11, 12]]], dtype=dtype) model = C.reduce_sum_square(data, 0) verify_no_input(model, tmpdir, 'ReduceSumSquare_0')
def test_ReduceSumSquare(tmpdir): data = np.array([[[1, 2], [3, 4]], [[5, 6], [7, 8]], [[9, 10], [11, 12]]], dtype=np.float32) model = C.reduce_sum_square(data, 0) verify_no_input(model, tmpdir, 'ReduceSumSquare_0')
def test_ReduceSumSquare(tmpdir, dtype): with C.default_options(dtype = dtype): data = np.array([[[1,2], [3,4]],[[5,6], [7,8]],[[9,10], [11,12]]], dtype=dtype) model = C.reduce_sum_square(data, 0) verify_no_input(model, tmpdir, 'ReduceSumSquare_0')