mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
10 lines
287 B
Python
10 lines
287 B
Python
from ray.rllib.utils.deprecation import Deprecated
|
|
|
|
|
|
@Deprecated(
|
|
new="Sub-class from Trainer (or another Trainer sub-class) directly! "
|
|
"See e.g. ray.rllib.agents.dqn.dqn.py for an example.",
|
|
error=True,
|
|
)
|
|
def build_trainer(*args, **kwargs):
|
|
pass # deprecated w/ error
|