Пример #1
0
def test_run():
    """ Runs the test """
    run_in_separate_process(target=launch, timeout=240)
Пример #2
0
def test_run_ppo():
    """ Runs the ppo test """
    run_in_separate_process(target=launch_ppo, timeout=240)
Пример #3
0
def test_run_reinforce():
    """ Runs the reinforce test """
    run_in_separate_process(target=launch_reinforce, timeout=240)
Пример #4
0
def test_run_a2c():
    """ Runs the a2c test """
    run_in_separate_process(target=launch_a2c, timeout=240)
Пример #5
0
def test_run_adapter():
    """ Runs the adapter test """
    run_in_separate_process(target=launch_adapter, timeout=240)
Пример #6
0
def test_token_based():
    """ Runs the token_based test """
    run_in_separate_process(target=launch_token_based, timeout=120)
Пример #7
0
def test_order_based():
    """ Runs the order_based test """
    run_in_separate_process(target=launch_order_based, timeout=120)
Пример #8
0
def test_seeded_random():
    """ Tests for the seeded random op """
    run_in_separate_process(target=run_seeded_random, timeout=30)