Contents
to_right_grad_scale()
Assumes three provided scales: (output_scale, left_grad_scale, right_grad_scale). Selects only right_grad_scale as the chosen scaling factor.
output_scale (float) – the scale of the op’s output
left_grad_scale (float) – the scale of the op’s left input gradient
right_grad_scale (float) – the scale of the op’s right input gradient
equal to right_grad_scale
float