mirror of
https://github.com/wassname/ray.git
synced 2026-07-20 12:40:20 +08:00
Add action space to model (#4210)
This commit is contained in:
committed by
Eric Liang
parent
5adb4a6941
commit
36cbde651a
@@ -48,6 +48,7 @@ class Model(object):
|
||||
def __init__(self,
|
||||
input_dict,
|
||||
obs_space,
|
||||
action_space,
|
||||
num_outputs,
|
||||
options,
|
||||
state_in=None,
|
||||
@@ -59,6 +60,7 @@ class Model(object):
|
||||
self.state_in = state_in or []
|
||||
self.state_out = []
|
||||
self.obs_space = obs_space
|
||||
self.action_space = action_space
|
||||
self.num_outputs = num_outputs
|
||||
self.options = options
|
||||
self.scope = tf.get_variable_scope()
|
||||
|
||||
Reference in New Issue
Block a user