3da892d4045bd09dbf63d6af47ba8938c065a13d,tensorforce/tests/test_vpg_optimizers.py,TestVPGOptimizers,test_optimized_step,#TestVPGOptimizers#,160
Before Change
dict(type="dense", size=32),
dict(type="dense", size=32)
]
config = dict(
update_mode=dict(
unit="episodes",
batch_size=4,
frequency=4
),
memory=dict(
type="latest",
include_next_states=False,
capacity=100
),
optimizer=dict(
type="optimized_step",
optimizer=dict(
type="adam",
learning_rate=1e-2
)
)
)
self.base_test_pass(name="optimized-step", environment=environment, network=network, **config)
def test_subsampling_step(self):
environment = MinimalTest(specification={"int": ()})
After Change
)
def test_optimized_step(self):
environment = UnittestEnvironment(
states=dict(type="float", shape=(1,)), actions=dict(type="float", shape=())
)
network = [dict(type="dense", size=32), dict(type="dense", size=32)]
config = dict(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: reinforceio/tensorforce
Commit Name: 3da892d4045bd09dbf63d6af47ba8938c065a13d
Time: 2018-11-04
Author: alexkuhnle@t-online.de
File Name: tensorforce/tests/test_vpg_optimizers.py
Class Name: TestVPGOptimizers
Method Name: test_optimized_step
Project Name: reinforceio/tensorforce
Commit Name: 3da892d4045bd09dbf63d6af47ba8938c065a13d
Time: 2018-11-04
Author: alexkuhnle@t-online.de
File Name: tensorforce/tests/test_vpg_optimizers.py
Class Name: TestVPGOptimizers
Method Name: test_adam
Project Name: reinforceio/tensorforce
Commit Name: 3da892d4045bd09dbf63d6af47ba8938c065a13d
Time: 2018-11-04
Author: alexkuhnle@t-online.de
File Name: tensorforce/tests/test_vpg_optimizers.py
Class Name: TestVPGOptimizers
Method Name: test_evolutionary