mirror of
https://github.com/wassname/ray.git
synced 2026-08-09 12:20:09 +08:00
[rllib] Fix PyTorch initialization (#1961)
* Fix typo * Fix A3C PyTorch agent initialization `registry` needs to be passed as an argument or else the `super` init will fail.
This commit is contained in:
committed by
Philipp Moritz
parent
b55f4a7f04
commit
06a0898af7
@@ -23,7 +23,7 @@ def register_trainable(name, trainable):
|
||||
|
||||
Args:
|
||||
name (str): Name to register.
|
||||
trainable (obj): Function or tune.Trainable clsas. Functions must
|
||||
trainable (obj): Function or tune.Trainable class. Functions must
|
||||
take (config, status_reporter) as arguments and will be
|
||||
automatically converted into a class during registration.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user