def test_planar_shapes(self): for shape in [(3, ), (3, 4), (3, 4, 2)]: input_dim = shape[-1] self._test_shape(shape, T.planar(input_dim))
def test_planar_jacobians(self): for input_dim in [2, 5, 10]: self._test_jacobian(input_dim, T.planar(input_dim))