diff --git a/docs/ops/comparison/NotEqual_1.md b/docs/ops/comparison/NotEqual_1.md index 448f4bcb66a..691da41c175 100644 --- a/docs/ops/comparison/NotEqual_1.md +++ b/docs/ops/comparison/NotEqual_1.md @@ -4,7 +4,18 @@ **Category**: Comparison binary operation -**Short description**: *NotEqual* performs element-wise comparison operation with two given tensors applying multi-directional broadcast rules. +**Short description**: *NotEqual* performs element-wise comparison operation with two given tensors applying +multi-directional broadcast rules specified in the `auto_broadcast` attribute. + +**Detailed description** +Before performing comparison operation, input tensors *a* and *b* are broadcasted if their shapes are different. +Broadcasting is performed according to `auto_broadcast` value. + +After broadcasting, *NotEqual* does the following with the input tensors *a* and *b*: + +\f[ +o_{i} = a_{i} != b_{i} +\f] **Attributes**: @@ -13,7 +24,8 @@ * **Description**: specifies rules used for auto-broadcasting of input tensors. * **Range of values**: * *none* - no auto-broadcasting is allowed, all input shapes should match - * *numpy* - numpy broadcasting rules, aligned with ONNX Broadcasting. Description is available in ONNX docs. + * *numpy* - numpy broadcasting rules, description is available in [Broadcast Rules For Elementwise Operations](../broadcast_rules.md), + * *pdpd* - PaddlePaddle-style implicit broadcasting, description is available in [Broadcast Rules For Elementwise Operations](../broadcast_rules.md). * **Type**: string * **Default value**: "numpy" * **Required**: *no* @@ -31,15 +43,6 @@ * *T*: arbitrary supported type. -**Detailed description** -Before performing arithmetic operation, input tensors *a* and *b* are broadcasted if their shapes are different and `auto_broadcast` attributes is not `none`. Broadcasting is performed according to `auto_broadcast` value. - -After broadcasting *NotEqual* does the following with the input tensors *a* and *b*: - -\f[ -o_{i} = a_{i} \neq b_{i} -\f] - **Examples** *Example 1*