Skip to content
fn

reciprocal_grad

int reciprocal_grad(const int & g, const int & t, const int & shape, Dtype h, const int & s, Dtype s_dt, Device device)

-(S * g) / T^2 in float32, rounded once to h.