.. _op_ai_onnx_Div: Div === - **Domain**: ``ai.onnx`` - **Since version**: 14 Performs element-wise binary division (with Numpy-style broadcasting support). This operator supports multidirectional (i.e., Numpy-style) broadcasting; for more details please check the broadcasting behavior in ONNX. For integer inputs, the result is computed using truncating division (rounding toward zero). **Inputs** - **A** (*T*): First operand. - **B** (*T*): Second operand. **Outputs** - **C** (*T*): Result, has same element type as two inputs **Type Constraints** - **T**: Constrain input and output types to all numeric tensors. Allowed types: tensor(bfloat16), tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8). Differences with previous version (13) -------------------------------------- **SchemaDiff**: ``Div`` (domain ``'ai.onnx'``) * old version: 13 * new version: 14 * breaking: no **Type constraints:** * changed 'T': added types: ['tensor(int16)', 'tensor(int8)', 'tensor(uint16)', 'tensor(uint8)'] Version History --------------- - :doc:`Version 13 ` - :doc:`Version 7 ` - :doc:`Version 6 ` - :doc:`Version 1 `