2f930b08af183a5f5ef22619e8744c1922f678a9,tensorforce/core/models/model.py,Model,__init__,#Model#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,30
Before Change
self.actions_spec = actions
for name in self.actions_spec:
if name in self.states_spec:
raise TensorforceError(
"Name overlap between actions and states: {}.".format(name)
)
if name in self.internals_spec:
raise TensorforceError(
"Name overlap between actions and internals: {}.".format(name)
)
After Change
name="name", value=name, group1="internals", group2="action-masks"
)
if name in self.actions_spec:
raise TensorforceError.collision(
name="name", value=name, group1="actions", group2="action-masks"
)
self.auxiliaries_spec[name] = dict(
type="bool", shape=(spec["shape"] + (spec["num_values"],))
)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: reinforceio/tensorforce
Commit Name: 2f930b08af183a5f5ef22619e8744c1922f678a9
Time: 2020-01-03
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/models/model.py
Class Name: Model
Method Name: __init__
Project Name: reinforceio/tensorforce
Commit Name: 2f930b08af183a5f5ef22619e8744c1922f678a9
Time: 2020-01-03
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/models/tensorforce.py
Class Name: TensorforceModel
Method Name: __init__
Project Name: reinforceio/tensorforce
Commit Name: 2f930b08af183a5f5ef22619e8744c1922f678a9
Time: 2020-01-03
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/layers/misc.py
Class Name: Activation
Method Name: __init__