bitwiseNOT(_:name:)
Applies the bitwise NOT operation to the input tensor element.
Declaration
func bitwiseNOT(_ tensor: MPSGraphTensor, name: String?) -> MPSGraphTensorParameters
- tensor:
The input tensor, which must be of integer type.
- name:
An optional string which serves as an identifier for the operation.
Return Value
A valid MPSGraphTensor object containing the elementwise result of the applied operation.
Discussion
This operation only accepts integer tensors.