rlightning.env.utils.utils

Environment preprocessing utilities.

rlightning.env.utils.utils.default_env_preprocess_fn(policy_resp: PolicyResponse)[source]

Default preprocess function for environment step. :param policy_resp: The response from the policy, containing the action to take. :type policy_resp: PolicyResponse

Returns:

The action to be taken in the environment.