mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
re-enable test_reduce_0d_default int test case in test_dtype (#3336)
This commit is contained in:
parent
ca66be6a70
commit
02636ff62d
1 changed files with 1 additions and 1 deletions
|
|
@ -322,7 +322,7 @@ class TestTypeSpec(unittest.TestCase):
|
|||
|
||||
def test_reduce_0d_default(self):
|
||||
assert Tensor.ones([2,3,0]).sum(2).dtype == dtypes.default_float
|
||||
# assert Tensor.ones([2,3,0], dtype=dtypes.int).sum(2).dtype == dtypes.int # requires reduceop acc fix
|
||||
assert Tensor.ones([2,3,0], dtype=dtypes.int).sum(2).dtype == dtypes.int
|
||||
|
||||
@given(strat.sampled_from([dtypes.int8,dtypes.int16,dtypes.int32,dtypes.int64]), strat.sampled_from([dtypes.float16,dtypes.float32,dtypes.float64]))
|
||||
def test_arange(self, default_int, default_float):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue