ef00c480c4122f107f7d1ad481991d38b8da4f20,tensorforce/core/networks/network.py,LayerbasedNetwork,__init__,#LayerbasedNetwork#Any#Any#Any#Any#Any#,115
Before Change
Layer-based network constructor.
super().__init__(
name=name, inputs_spec=inputs_spec, device=device, summary_labels=summary_labels,
l2_regularization=l2_regularization
)
self.output_spec = None
def get_output_spec(self):
After Change
)
if len(inputs_spec) == 1:
self.output_spec = next(iter(inputs_spec.values()))
else:
self.output_spec = None
def get_output_spec(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: reinforceio/tensorforce
Commit Name: ef00c480c4122f107f7d1ad481991d38b8da4f20
Time: 2019-08-30
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/networks/network.py
Class Name: LayerbasedNetwork
Method Name: __init__
Project Name: home-assistant/home-assistant
Commit Name: 80bc2666ac4205c3fb031e8f6f78cbdc5ec83027
Time: 2017-02-14
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/climate/homematic.py
Class Name: HMThermostat
Method Name: _init_data_struct
Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 2d267df50718045fb5ffb3b9814483a8350d8a71
Time: 2017-09-19
Author: bodo.rueckauer@gmail.com
File Name: scripts/ann_architectures/cifar10/cnn_BN.py
Class Name:
Method Name: