src/orion/core/worker/transformer.py
def infer_target_shape(self, shape):
        """Infer that transformed points will have one more tensor dimension,
        if the number of supported integers to transform is larger than 2.
        """
        return tuple(list(shape) + [self.num_cats]) if self.num_cats > 2 else shape
Infer that transformed points will have one more tensor dimension,
        if the number of supported integers to transform is larger than 2.
        
Infer that transformed points will have one more tensor dimension,
if the number of supported integers to transform is larger than 2.
Infer that transformed points will have one more tensor dimension if the number of supported integers to transform is larger than 2 .
def infer_target_shape(self, shape):
        return tuple(list(shape) + [self.num_cats]) if self.num_cats > 2 else shape
def infer_target_shape ( self , shape ) : return tuple ( list ( shape ) + [ self . num_cats ] ) if self . num_cats > 2 else shape
Infer that transformed points will have one more tensor dimension,
if the number of supported integers to transform is larger than 2.
Infer that transformed points will have one more tensor dimension if the number of supported integers to transform is larger than 2 .
"""Infer that transformed points will have one more tensor dimension,
        if the number of supported integers to transform is larger than 2.
        """
self
shape