提交 477f4e5d authored 作者: Brandon T. Willard's avatar Brandon T. Willard 提交者: Brandon T. Willard

Make TensorConstant a subclass of TensorVariable

上级 36e2e1a5
...@@ -952,7 +952,7 @@ class TensorConstantSignature(tuple): ...@@ -952,7 +952,7 @@ class TensorConstantSignature(tuple):
no_nan = property(_get_no_nan) no_nan = property(_get_no_nan)
class TensorConstant(_tensor_py_operators, Constant): class TensorConstant(TensorVariable, Constant):
"""Subclass to add the tensor operators to the basic `Constant` class. """Subclass to add the tensor operators to the basic `Constant` class.
To create a TensorConstant, use the `constant` function in this module. To create a TensorConstant, use the `constant` function in this module.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论