提交 21f7a3ff authored 作者: Frederic Bastien's avatar Frederic Bastien

For compat add TensorType.context_name='cpu'

上级 2953a1de
...@@ -34,7 +34,7 @@ class TensorType(Type): ...@@ -34,7 +34,7 @@ class TensorType(Type):
Optional name for this type. Optional name for this type.
""" """
context_name = 'cpu'
filter_checks_isfinite = False filter_checks_isfinite = False
""" """
When this is True, strict filtering rejects data containing NaN or When this is True, strict filtering rejects data containing NaN or
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论