mirror of
https://github.com/wassname/ray.git
synced 2026-07-18 12:40:56 +08:00
Python 2 compatibility. (#5887)
This commit is contained in:
@@ -156,7 +156,7 @@ def rollout(model, env):
|
||||
# given an input, which in our case is an observation.
|
||||
|
||||
|
||||
class Model():
|
||||
class Model(object):
|
||||
"""This class holds the neural network weights."""
|
||||
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user