Skip to main content

ClikaRT::ops::bitwise_not

function

bitwise_not()​

Tensor bitwise_not(Tensor input)

Elementwise bitwise NOT (~x; logical NOT for Bool). Integer and Bool dtypes; the output keeps input's dtype.

Returns: input's shape and dtype, complemented.

Throws

  • ClikaRT::Error: (INVALID_ARGUMENT) for a floating-point operand.

Declared in ClikaRT/compute/ops.h, line 1606