chainerx.logical_not

chainerx.logical_not(x)

Returns an array of NOT x element-wise.

Parameters

x (ndarray) – Input array.

Returns

Output array of type bool.

Return type

ndarray

Note

During backpropagation, this function does not propagate gradients.