Пример #1
0
def policy_fn(name, ob_space, ac_space):
    return CnnPolicy(name=name, ob_space=env.observation_space, ac_space=env.action_space)
Пример #2
0
 def policy_fn(name, ob_space, ac_space, sess=None, placeholders=None):  # pylint: disable=W0613
     return CnnPolicy(name=name,
                      ob_space=ob_space,
                      ac_space=ac_space,
                      sess=sess,
                      placeholders=placeholders)
Пример #3
0
 def policy_fn(name, ob_space, ac_space): #pylint: disable=W0613
     return CnnPolicy(name=name, ob_space=env.observation_space, ac_space=env.action_space)
Пример #4
0
 def policy_fn(name, ob_space, ac_space):  #pylint: disable=W0613
     return CnnPolicy(name=name, ob_space=box, ac_space=discrete)