提交 57364762 authored 作者: Iban Harlouchet's avatar Iban Harlouchet

Corrections to theano/tensor/nnet/conv3d2d.py

上级 14bd1311
...@@ -73,7 +73,7 @@ class DiagonalSubtensor(Op): ...@@ -73,7 +73,7 @@ class DiagonalSubtensor(Op):
see what's necessary at that point. see what's necessary at that point.
""" """
__props__ = ("inplace") __props__ = ("inplace",)
def __str__(self): def __str__(self):
if self.inplace: if self.inplace:
...@@ -113,7 +113,7 @@ class IncDiagonalSubtensor(Op): ...@@ -113,7 +113,7 @@ class IncDiagonalSubtensor(Op):
""" """
The gradient of DiagonalSubtensor The gradient of DiagonalSubtensor
""" """
__props__ = ("inplace") __props__ = ("inplace",)
def __str__(self): def __str__(self):
if self.inplace: if self.inplace:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论