7537cc093489dc1b38d52c8b0f5d9dd543c8c7fe,softlearning/algorithms/sql.py,SQL,_create_svgd_update,#SQL#,223
Before Change
Create a minimization operation for policy update (SVGD).
action_tensors = [tf.expand_dims(self.policy.actions(self._observations_ph), -2)
for _ in range(self._kernel_n_particles)]
actions = tf.concat(action_tensors, 1)
assert_shape(
After Change
Create a minimization operation for policy update (SVGD).
actions = self.policy.actions(
tf.tile(
self._observations_ph,
(self._kernel_n_particles,
*np.ones_like(self._observation_shape))))
actions = tf.reshape(
actions,
(-1, self._kernel_n_particles, *self._observation_shape))
assert_shape(
actions, (None, self._kernel_n_particles, *self._action_shape))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: rail-berkeley/softlearning
Commit Name: 7537cc093489dc1b38d52c8b0f5d9dd543c8c7fe
Time: 2019-02-01
Author: hartikainen@berkeley.edu
File Name: softlearning/algorithms/sql.py
Class Name: SQL
Method Name: _create_svgd_update
Project Name: ntucllab/libact
Commit Name: c57ce7f891a91592354b1685d37f2aee39f193f2
Time: 2015-10-07
Author: yangarbiter@gmail.com
File Name: libact/query_strategies/active_learning_by_learning.py
Class Name: Exp4P
Method Name: exp4p
Project Name: ntucllab/libact
Commit Name: 5dd5b8652f28426322309c4e983c94a3caa8fa8e
Time: 2014-12-19
Author: yangarbiter@gmail.com
File Name: libact/query_strategies/variance_reduction.py
Class Name: VarianceReduction
Method Name: A