xpag.agents.rljax_agents.util.preprocess.preprocess_state#

preprocess_state(state, key)#

Preprocess pixel states to fit into [-0.5, 0.5].

Return type:

Array