2f930b08af183a5f5ef22619e8744c1922f678a9,tensorforce/core/layers/misc.py,Block,__init__,#Block#Any#Any#Any#,117

Before Change


    def __init__(self, name, layers, input_spec=None):
        // TODO: handle internal states and combine with layered network
        if len(layers) == 0:
            raise TensorforceError.unexpected()

        self._input_spec = input_spec
        self.layers = layers

After Change


    def __init__(self, name, layers, input_spec=None):
        // TODO: handle internal states and combine with layered network
        if len(layers) == 0:
            raise TensorforceError.value(
                name="block", argument="layers", value=layers, hint="zero length"
            )

        self._input_spec = input_spec
        self.layers = layers
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

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/layers/misc.py
Class Name: Block
Method Name: __init__


Project Name: reinforceio/tensorforce
Commit Name: 1f3da4036a64bf4c111c41943394f940dc742509
Time: 2020-05-04
Author: alexkuhnle@t-online.de
File Name: tensorforce/agents/dpg.py
Class Name: DeterministicPolicyGradient
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/layer.py
Class Name: TemporalLayer
Method Name: __init__