moscot.problems.cross_modality.TranslationProblem.solve

TranslationProblem.solve(alpha=1.0, epsilon=0.01, tau_a=1.0, tau_b=1.0, rank=-1, scale_cost='mean', batch_size=None, stage=('prepared', 'solved'), initializer=None, initializer_kwargs=mappingproxy({}), jit=True, min_iterations=None, max_iterations=None, threshold=0.001, linear_solver_kwargs=mappingproxy({}), device=None, **kwargs)[source]

Solve the translation problem.

Parameters:
Return type:

TranslationProblem[TypeVar(K, bound= Hashable)]

Returns:

: Returns self and updates the following fields: