residual_tensor

# Import statement

from hottbox.utils.generation import residual_tensor
residual_tensor(tensor_orig, tensor_approx)[source]

Residual tensor

Parameters
tensor_origTensor
tensor_approx{Tensor, TensorCPD, TensorTKD, TensorTT}
Returns
residualTensor