def encode_as_SSP(self, x):
    assert (x.shape[0] == self.domain_dim)
    return SSP(self.encode(x), self)
def encode_as_SSP(self, x):
    assert (x.shape[0] == self.domain_dim)
    return SSP(self.encode(x), self)