Is there a PyTorch analogue of Lua’s torch.cmax(tensor, value)?
I checked the docs torch.max seems to want another tensor as an argument and doesn’t cut it.
There are workarounds, but an easy direct way of doing it would be more concise and probably efficient.
Thanks!