jax_privacy.training.TrainingState#

class jax_privacy.training.TrainingState(*, step, params, opt_state, noise_state)[source]#

Bases: object

Container for the state of the training loop.

Methods

__init__

Attributes

step: int#
params: Union[Array, ndarray, bool, number, bool, int, float, complex, Iterable[Union[Array, ndarray, bool, number, bool, int, float, complex, Iterable[ArrayTree], Mapping[Any, ArrayTree]]], Mapping[Any, Union[Array, ndarray, bool, number, bool, int, float, complex, Iterable[ArrayTree], Mapping[Any, ArrayTree]]]]#
opt_state: Union[Array, ndarray, bool, number, bool, int, float, complex, Iterable[Union[Array, ndarray, bool, number, bool, int, float, complex, Iterable[ArrayTree], Mapping[Any, ArrayTree]]], Mapping[Any, Union[Array, ndarray, bool, number, bool, int, float, complex, Iterable[ArrayTree], Mapping[Any, ArrayTree]]]]#
noise_state: Union[Array, ndarray, bool, number, bool, int, float, complex, Iterable[Union[Array, ndarray, bool, number, bool, int, float, complex, Iterable[ArrayTree], Mapping[Any, ArrayTree]]], Mapping[Any, Union[Array, ndarray, bool, number, bool, int, float, complex, Iterable[ArrayTree], Mapping[Any, ArrayTree]]]]#