.. _op_ai_onnx_Xor-1: Xor - version 1 =============== This page documents version **1** of operator **Xor**. See :doc:`Xor` for the latest version (since version 7). - **Domain**: ``ai.onnx`` - **Since version**: 1 Returns the tensor resulted from performing the ``Xor`` logical operation elementwise on the input tensors ``A`` and ``B``. If broadcasting is enabled, the right-hand-side argument will be broadcasted to match the shape of left-hand-side argument. See the doc of ``Add`` for a detailed description of the broadcasting rules. **Inputs** - **A** (*T*): Left input tensor for the logical operator. - **B** (*T*): Right input tensor for the logical operator. **Outputs** - **C** (*T1*): Result tensor. **Type Constraints** - **T**: Constrain input to boolean tensor. Allowed types: tensor(bool). - **T1**: Constrain output to boolean tensor. Allowed types: tensor(bool).