LeastSquaresSetup#

class t3toolbox.optimizers.LeastSquaresSetup#

What least_squares_problem() returns: the backend problem, the backend starting cores, and the map from backend cores back to a frontend tensor.

A named result, not a bare tuple, so that the frontend constructor’s three outputs are not mistaken for the backend t3toolbox.backend.optimizers.least_squares_problem()’s single Problem.

problem: Problem#
x0_cores: Any#
rewrap: Callable#