提交 d804254d authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Flake8

上级 9b6a964a
...@@ -301,7 +301,7 @@ def local_gpu_elemwise_0(node): ...@@ -301,7 +301,7 @@ def local_gpu_elemwise_0(node):
# first establish that float32 can store all inputs # first establish that float32 can store all inputs
upcastable = set(['float32', 'bool', 'int8', 'int16', upcastable = set(['float32', 'bool', 'int8', 'int16',
'uint8', 'uint16',]) 'uint8', 'uint16'])
# case 1 - all inputs are already float32 # case 1 - all inputs are already float32
if all([i.type.dtype == 'float32' for i in node.inputs]): if all([i.type.dtype == 'float32' for i in node.inputs]):
# TODO: change this when fusion makes Elemwise with # TODO: change this when fusion makes Elemwise with
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论