tff.utils.update_state

tff.utils.update_state(
    state,
    **kwargs
)

Defined in core/utils/computation_utils.py.

Returns a new state (a namedtuple) with updated with kwargs.