tltorch
.ComplexTuckerTensorized¶
- class tltorch.ComplexTuckerTensorized(*args, **kwargs)[source]¶
Complex TuckerTensorized Factorization
Methods
new
(tensorized_shape[, rank, device, dtype])Main way to create a Tensorized Matrix
- classmethod new(tensorized_shape, rank=None, device=None, dtype=torch.complex64, **kwargs)[source]¶
Main way to create a Tensorized Matrix
- Parameters:
- tensorized_shapetuple[int]
- rankint, ‘same’ or float
rank of the decomposition
- n_matricestuple or int, default is ()
if not (), indicates how many matrices have to be jointly factorized
- factorization{‘CP’, ‘TT’, ‘Tucker’}, optional
Tensor factorization to use to decompose the tensor, by default ‘CP’
- Returns:
- TensorizedTensor
Tensor in Tensorized and Factorized form.
- Raises:
- ValueError
If the factorization given does not exist.