.^(_:_:)
Computes element-wise logical XOR where both operands are expected contain Boolean scalar elements.
Declaration
static func .^ (lhs: MLTensor, rhs: MLTensor) -> MLTensorDiscussion
For example:
let x = MLTensor([true, true, true])
let y = MLTensor([true, false, true])
x .^ y // is [false, true, false]