Hi, i’m going to apply some kind of constraint to the output. However, the thresholds for each elements are different. I noticed that both torch.clamp and nn.HardTanh take scalars as argument. Are there any workaround for this?
Thanks!