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

Use the normal variable name.

上级 3f4aac37
......@@ -543,8 +543,8 @@ class _tensor_py_operators:
def get_scalar_constant_value(self):
return theano.tensor.basic.get_scalar_constant_value(self)
def zeros_like(model, dtype=None):
return theano.tensor.basic.zeros_like(model, dtype=dtype)
def zeros_like(self, dtype=None):
return theano.tensor.basic.zeros_like(self, dtype=dtype)
class TensorVariable(_tensor_py_operators, Variable):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论