set_state

uarray.set_state(state)[source]

A context manager that sets the state of the backends to one returned by get_state.

See also

get_state()

Gets a state to be set by this context manager.