The following code
projected_grad = t3f.riemannian.project(grad_tt, weight_tt)
where grad_tt and weight_tt are TensorTrain objects gives the following error
ValueError: batch size is not available for a TensorTrain object.
However, the same piece of code with t3f.riemannian.project_sum(grad_tt, weight_tt) instead works
The following code
projected_grad = t3f.riemannian.project(grad_tt, weight_tt)
wheregrad_tt
andweight_tt
are TensorTrain objects gives the following errorValueError: batch size is not available for a TensorTrain object.
However, the same piece of code with
t3f.riemannian.project_sum(grad_tt, weight_tt)
instead works