Bug fix in tests for tf.linalg.LinearOperatorBlockDiag.

PiperOrigin-RevId: 288054665
Change-Id: If06da1a443eb2fad0206809490a442cd5fe62b99
This commit is contained in:
Emily Fertig 2020-01-03 14:58:01 -08:00 committed by TensorFlower Gardener
parent 90fe9cbcb1
commit 55e68264ba

View File

@ -70,9 +70,9 @@ class SquareLinearOperatorBlockDiagTest(
self._rtol[dtypes.float32] = 1e-4
self._rtol[dtypes.complex64] = 1e-4
@property
def operator_shape_infos(self):
shape_info = linear_operator_test_util.OperatorShapeInfo
@staticmethod
def operator_shapes_infos():
shape_info = linear_operator_test_util.OperatorShapesInfo
return [
shape_info((0, 0)),
shape_info((1, 1)),