any in PyTorch
Buy Me a Coffee☕  *My post explains all().  any() can check if any elements of a 0D or more D tensor...
Tags: python, pytorch, any, function