Contents
to_grad_input_scale()
Assumes two provided scales: (output_scale, grad_input_scale). Selects only grad_input_scale as the chosen scaling factor.
output_scale (float) – the scale of the op’s output
grad_input_scale (float) – the scale of the op’s input gradient
equal to grad_input_scale
float