c74dc58f8b38bb947b903d3f92efbd8d1cd675ce,rllib/models/torch/fcnet.py,FullyConnectedNetwork,__init__,#FullyConnectedNetwork#Any#Any#Any#Any#Any#,19
Before Change
// TODO(sven): implement case: vf_shared_layers = False.
// vf_share_layers = model_config.get("vf_share_layers")
logger.debug("Constructing fcnet {} {}".format(hiddens, activation))
layers = []
prev_layer_size = int(np.product(obs_space.shape))
self._logits = None
After Change
self._value_branch_separate = None
if not self.vf_share_layers:
// Build a parallel set of hidden layers for the value net.
prev_vf_layer_size = int(np.product(obs_space.shape))
self._value_branch_separate = []
for size in hiddens:
self._value_branch_separate.append(
SlimFC(
in_size=prev_vf_layer_size,
out_size=size,
activation_fn=activation,
initializer=normc_initializer(1.0)))
prev_vf_layer_size = size
self._value_branch_separate = nn.Sequential(
*self._value_branch_separate)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: ray-project/ray
Commit Name: c74dc58f8b38bb947b903d3f92efbd8d1cd675ce
Time: 2020-06-05
Author: sven@anyscale.io
File Name: rllib/models/torch/fcnet.py
Class Name: FullyConnectedNetwork
Method Name: __init__
Project Name: ray-project/ray
Commit Name: 732197e23a937b7b6d196936519c16ec6317ea9f
Time: 2021-03-08
Author: sven@anyscale.io
File Name: rllib/execution/train_ops.py
Class Name: TrainTFMultiGPU
Method Name: __call__
Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: 010ca73fe1675cf908dcc01868cdeb2eb58431a1
Time: 2017-03-09
Author: akshayubhat@gmail.com
File Name: dvalib/facerecognition.py
Class Name:
Method Name: represent
Project Name: google/deepvariant
Commit Name: 4d934160aa7f4f9f1d5cdea7cd0e66cfc3d43d05
Time: 2018-04-29
Author: mdepristo@google.com
File Name: third_party/nucleus/io/fasta.py
Class Name: InMemoryRefReader
Method Name: __init__