提交 197d4419 authored 作者: Iban Harlouchet's avatar Iban Harlouchet

A #noqa added to theano/tensor/type.py

上级 825fbc1a
......@@ -260,7 +260,7 @@ class TensorType(Type):
and other.broadcastable == self.broadcastable
def convert_variable(self, var):
if (type(self) == type(var.type) and
if (type(self) == type(var.type) and # noqa
self.dtype == var.type.dtype and
self.ndim == var.type.ndim and
all(sb == ob or ob for sb, ob in zip(self.broadcastable,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论