提交 0b5a96e0 authored 作者: Frederic Bastien's avatar Frederic Bastien

Fix new test error in debugmode.

上级 034a4081
......@@ -119,7 +119,9 @@ class GpuElemwise(HideC, Elemwise):
inps, outs,
dict(fail='return;'))
assert 'npy_float16' not in kop
if isinstance(scalar_op, Composite):
# Other op like cast should handle float16 themself.
assert 'npy_float16' not in kop
support_code = ""
try:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论