Beispiel #1
0
def test_discrete_bc_performance():
    bc = DiscreteBC(n_epochs=1)
    algo_cartpole_tester(bc)
Beispiel #2
0
def test_discrete_bc(observation_shape, action_size, scaler):
    bc = DiscreteBC(scaler=scaler)
    algo_tester(bc, observation_shape, imitator=True)
    algo_update_tester(bc, observation_shape, action_size, discrete=True)