ott.solvers.nn.models.ModelBase.is_potential#

abstract property ModelBase.is_potential: bool#

Indicates if the module defines the potential’s value or the gradient.

Returns:

True if the module defines the potential’s value, False if it defines the gradient.