提交 92ae8731 authored 作者: Mohammad Pezeshki's avatar Mohammad Pezeshki

CastTester adapted not to use uint8 and uint16

上级 6bbad303
......@@ -2086,9 +2086,11 @@ BatchedDotTester = makeTester(
def _numpy_second(x, y):
return numpy.broadcast_arrays(x, y)[1]
ALL_DTYPES = ('int8', 'int16', 'int32', 'int64', 'uint8', 'uint16',
'float32', 'float64', 'complex64', 'complex128')
REAL_DTYPES = ALL_DTYPES[:-2]
# Don't forget to modify the two lines after!
ALL_DTYPES = ('int8', 'int16', 'int32', 'int64', 'float32', 'float64',
'uint8', 'uint16',
'complex64', 'complex128')
REAL_DTYPES = ALL_DTYPES[:6]
COMPLEX_DTYPES = ALL_DTYPES[-2:]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论