super_symmetric_tensor

# Import statement

from hottbox.utils.generation import super_symmetric_tensor
super_symmetric_tensor(shape, tensor=None)[source]

Generates a tensor of equal dimensions with random or specified numbers, with a specified tensor.

Parameters
shapetuple

Specifies the dimensions of the tensor len(shape) defines the order of the tensor, whereas its values specify sizes of dimensions of the tensor.

tensorTensor, optional

Input tensor to be symmetricised

Returns
Tensor

Generated tensor according to the parameters specified