提交 63a18e70 authored 作者: Frederic's avatar Frederic

Keep variable creation stack trace

上级 c5cef8b3
......@@ -34,7 +34,7 @@ class test_casting(unittest.TestCase):
for type1 in ['uint8', 'uint16', 'uint32', 'uint64',
'int8', 'int16', 'int32', 'int64', 'float32', 'float64']:
x = TensorType(dtype=type1,
broadcastable=(False, )).make_variable()
broadcastable=(False, ))()
for type2, converter in zip(['int8', 'int16', 'int32', 'int64',
'float32', 'float64'],
[_convert_to_int8, _convert_to_int16,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论