ray.rllib.core.rl_module.marl_module.MultiAgentRLModuleSpec.from_module#

classmethod MultiAgentRLModuleSpec.from_module(module: MultiAgentRLModule) MultiAgentRLModuleSpec[source]#

Creates a MultiAgentRLModuleSpec from a MultiAgentRLModule.

Parameters:

module – The MultiAgentRLModule to create the spec from.

Returns:

The MultiAgentRLModuleSpec.