tensor.not
#tensor.not
Computes the negation of the elements in the bool type input tensor.
Args
self
(@Tensor<bool>
) - The input tensor.
Returns
A new Tensor<bool>
of the same shape as the input tensor with the negation of all elements in the input tensor.
Example
Last updated