提交 58b0847e authored 作者: Iban Harlouchet's avatar Iban Harlouchet

Whitespaces removed to theano/sparse/basic.py

上级 29abb700
...@@ -2377,6 +2377,7 @@ class __ComparisonOpSD(gof.op.Op): ...@@ -2377,6 +2377,7 @@ class __ComparisonOpSD(gof.op.Op):
def infer_shape(self, node, ins_shapes): def infer_shape(self, node, ins_shapes):
return [ins_shapes[0]] return [ins_shapes[0]]
def __ComparisonSwitch(SS, SD, DS): def __ComparisonSwitch(SS, SD, DS):
""" """
:param SS: function to apply between two sparses matrices. :param SS: function to apply between two sparses matrices.
...@@ -3089,6 +3090,7 @@ class TrueDot(gof.op.Op): ...@@ -3089,6 +3090,7 @@ class TrueDot(gof.op.Op):
def infer_shape(self, node, shapes): def infer_shape(self, node, shapes):
return [(shapes[0][0], shapes[1][1])] return [(shapes[0][0], shapes[1][1])]
def true_dot(x, y, grad_preserves_dense=True): def true_dot(x, y, grad_preserves_dense=True):
""" """
Operation for efficiently calculating the dot product when Operation for efficiently calculating the dot product when
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论