@Nathan_Wood
We don’t have ‘!’ or ‘not’ operator support on tensors in c++ apis. (you can do this in python version when tensor has only 1 item)
You can file a feature issue here ‘https://github.com/pytorch/pytorch/issues 9’  and put a label operator on the issue. We will triage it.