49f1781b822054549e3f5c92ab1e25c130e076e8,tensorforce/core/networks/layer.py,Layer,from_spec,#Any#Any#,113
Before Change
Creates a layer from a specification dict.
return util.get_object(
obj=spec,
predefined_objects=tensorforce.core.networks.layers,
kwargs=kwargs
)
class Flatten(Layer):
After Change
Creates a layer from a specification dict.
layer = util.get_object(
obj=spec,
predefined_objects=tensorforce.core.networks.layers,
kwargs=kwargs
)
assert isinstance(layer, Layer)
return layer
class Flatten(Layer):
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 5
Instances
Project Name: reinforceio/tensorforce
Commit Name: 49f1781b822054549e3f5c92ab1e25c130e076e8
Time: 2017-10-02
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/core/networks/layer.py
Class Name: Layer
Method Name: from_spec
Project Name: reinforceio/tensorforce
Commit Name: 49f1781b822054549e3f5c92ab1e25c130e076e8
Time: 2017-10-02
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/core/explorations/exploration.py
Class Name: Exploration
Method Name: from_spec
Project Name: reinforceio/tensorforce
Commit Name: 49f1781b822054549e3f5c92ab1e25c130e076e8
Time: 2017-10-02
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/core/distributions/distribution.py
Class Name: Distribution
Method Name: from_spec
Project Name: reinforceio/tensorforce
Commit Name: 49f1781b822054549e3f5c92ab1e25c130e076e8
Time: 2017-10-02
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/core/baselines/baseline.py
Class Name: Baseline
Method Name: from_spec
Project Name: reinforceio/tensorforce
Commit Name: 49f1781b822054549e3f5c92ab1e25c130e076e8
Time: 2017-10-02
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/core/optimizers/optimizer.py
Class Name: Optimizer
Method Name: from_spec
Project Name: reinforceio/tensorforce
Commit Name: 49f1781b822054549e3f5c92ab1e25c130e076e8
Time: 2017-10-02
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/core/memories/memory.py
Class Name: Memory
Method Name: from_spec