提交 26350fa9 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

fixed copy paste name bug

上级 ab2bdf83
...@@ -1730,7 +1730,7 @@ class Arccos(UnaryScalarOp): ...@@ -1730,7 +1730,7 @@ class Arccos(UnaryScalarOp):
if node.inputs[0].type in complex_types: if node.inputs[0].type in complex_types:
raise NotImplementedError('type not supported', type) raise NotImplementedError('type not supported', type)
return "%(z)s = acos(%(x)s);" % locals() return "%(z)s = acos(%(x)s);" % locals()
arccos = Arccos(upgrade_to_float, name = 'cos') arccos = Arccos(upgrade_to_float, name = 'arccos')
class Sin(UnaryScalarOp): class Sin(UnaryScalarOp):
def impl(self, x): def impl(self, x):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论