offline_rl¶
td3bc_agent¶
- class xuance.mindspore.agents.offline_rl.td3bc_agent.TD3_BC_Agent(config: Namespace, envs: DummyVecEnv | SubprocVecEnv | None = None, observation_space: gymnasium.spaces.Space | None = None, action_space: gymnasium.spaces.Space | None = None, callback: BaseCallback | None = None)[source]¶
Bases:
OfflineAgentThe implementation of TD3_BC agent.
- Parameters:
config – the Namespace variable that provides hyperparameters and other settings.
envs – the vectorized environments.
callback – A user-defined callback function object to inject custom logic during training.