tensorly.decomposition.CPPower

class CPPower(rank, n_repeat=10, n_iteration=10, verbose=0)[source]
fit_transform(tensor)[source]

Decompose an input tensor

Parameters:
tensortensorly tensor

input tensor to decompose

Returns:
CPTensor

decomposed tensor