fn
compute
int compute(Op op, bool scalar_first, const int & x, const int & shape, Dtype h, const int & s, Dtype s_dt, Device device)x op s (or s op x) for x of dtype h and shape shape and a 0-d s of dtype s_dt: computed in float32, rounded once to h.