6e1bb36b78a4b9bd9052879e657cb399a2c6ecbd,q_output.py,ContinuousQOutput,greedy_actions,#ContinuousQOutput#,119
Before Change
@cached_property
def greedy_actions(self):
return self.mu
@cached_property
def max(self):
return F.reshape(self.v, (self.batch_size,))
After Change
a = F.maximum(
self.xp.broadcast_to(self.min_action, a.data.shape), a)
if self.max_action is not None:
a = F.minimum(
self.xp.broadcast_to(self.max_action, a.data.shape), a)
return a
@cached_property
def max(self):
if self.min_action is None and self.max_action is None:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: chainer/chainerrl
Commit Name: 6e1bb36b78a4b9bd9052879e657cb399a2c6ecbd
Time: 2016-08-25
Author: muupan@gmail.com
File Name: q_output.py
Class Name: ContinuousQOutput
Method Name: greedy_actions
Project Name: onnx/onnx-tensorflow
Commit Name: 58ace0a10f2859a7bfbb9b56238ba47e4175f5ac
Time: 2020-10-09
Author: wtsang@us.ibm.com
File Name: onnx_tf/handlers/backend/min.py
Class Name: Min
Method Name: _common
Project Name: Qiskit/qiskit-aqua
Commit Name: 8ac52eaf2f03402e413101c94301306f41f60a19
Time: 2019-12-12
Author: jules.gacon@googlemail.com
File Name: qiskit/aqua/algorithms/single_sample/amplitude_estimation/iqae.py
Class Name: IterativeAmplitudeEstimation
Method Name: _chernoff_confint