Chao Zhang

Results 63 comments of Chao Zhang

Updated the algorithm to remove unnecessary gather operations... now only one gather operation is needed whereas multiple were used before. Besides being more efficient, this also side steps a problem...

Ah I see, the bigger issue is that the `torch.clamp` implementations currently only handle single scalars instead of `torch.tensors` for min and max args (at least, that seems to be...

I'll take a look at this issue if needed, but I think this really only comes up with dynamic shapes. In these situations, the user usually knows a priori that...