tltorch.BlockTT

class tltorch.BlockTT(*args, **kwargs)[source]
Attributes
decomposition

Returns the factors and parameters composing the tensor in factorized form

Methods

from_tensor(tensor, tensorized_shape, rank, ...)

new(tensorized_shape, rank[, device, dtype])

normal_([mean, std])

Inialize the factors of the factorization such that the reconstruction follows a Gaussian distribution

to_tensor()

Reconstruct the full tensor from its factorized form

init_from_tensor

property decomposition

Returns the factors and parameters composing the tensor in factorized form

to_tensor()[source]

Reconstruct the full tensor from its factorized form

normal_(mean=0, std=1)[source]

Inialize the factors of the factorization such that the reconstruction follows a Gaussian distribution

Parameters
meanfloat, currently only 0 is supported
stdfloat

standard deviation

Returns
self