예제 #1
0
 def __init__(self, env_creator):
     self.env_creator = env_creator
     self.env = env_creator()
     ServingEnv.__init__(self, self.env.action_space,
                         self.env.observation_space)
예제 #2
0
 def __init__(self, env):
     ServingEnv.__init__(self, env.action_space, env.observation_space)
     self.env = env
예제 #3
0
 def __init__(self):
     ServingEnv.__init__(self, spaces.Discrete(2),
                         spaces.Box(low=-10, high=10, shape=(4, )))
예제 #4
0
 def __init__(self, env, off_pol_frac):
     ServingEnv.__init__(self, env.action_space, env.observation_space)
     self.env = env
     self.off_pol_frac = off_pol_frac
예제 #5
0
 def __init__(self, env, fixed_action):
     ServingEnv.__init__(self, env.action_space, env.observation_space)
     self.env = env
     self.fixed_action = fixed_action