std :: ml::gpu_mps
Function std::mps_scale_f32_chained
int mps_scale_f32_chained(struct MpsBuf buf, float k, &float out, unsigned long n)out[i] = buf[i] * k -- chained version of mps_scale_f32, input already a still-pending GPU buffer. Used by tensor_sub_gpu's backward for dTarget = -1 * (incoming gradient), when that incoming gradient is itself still GPU-pending.