提交 e0d579d9 authored 作者: Frederic's avatar Frederic

pep8

上级 4cd915bf
...@@ -115,7 +115,7 @@ class InputToGpuOptimizer(Optimizer): ...@@ -115,7 +115,7 @@ class InputToGpuOptimizer(Optimizer):
if new_input.type == input.type: if new_input.type == input.type:
fgraph.replace_validate(input, new_input, fgraph.replace_validate(input, new_input,
"InputToGpuOptimizer") "InputToGpuOptimizer")
except TypeError: except TypeError:
#as we currently only support float32, this can fail. #as we currently only support float32, this can fail.
#Using try except make that we won't need #Using try except make that we won't need
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论