A question on how to use at::Tensor & clamp_min_ function

if there’s a trailing underscore, its a member of the tensor.

Can you try this instead:

yPreds_ts.clamp_min_(testmin)