提交 2d3f367c authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Attributes on a class can be a source of problems.

上级 ec2f55b8
......@@ -7,7 +7,6 @@ import unittest
# this tests other ops to ensure they keep the dimensions of their
# inputs correctly
@attr('slow')
class TestKeepDims(unittest.TestCase):
def makeKeepDims_local(self, x, y, axis):
......@@ -34,6 +33,7 @@ class TestKeepDims(unittest.TestCase):
return tensor.DimShuffle(y.type.broadcastable, new_dims)(y)
@attr('slow')
def test_keepdims(self):
x = tensor.dtensor3()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论