

def __init__(self, k, transform=None):
    if (transform is None):
        transform = (np.eye(k.input_dim) * (- 1.0))
    assert (transform.shape == (k.input_dim, k.input_dim))
    self.transform = transform
    self.input_dim = k.input_dim
    self.num_params = k.num_params
    self.name = (k.name + '_symm')
    self.k = k
    self.add_parameter(k)

dataset/ETHPy150Open SheffieldML/GPy/GPy/kern/src/todo/symmetric.py Symmetric.__init__/original