:nosearch: .. _op_ai_onnx_IsInf-10: IsInf - version 10 ================== This page documents version **10** of operator **IsInf**. See :doc:`IsInf` for the latest version (since version 20). - **Domain**: ``ai.onnx`` - **Since version**: 10 Map infinity to true and other values to false. **Inputs** - **X** (*T1*): input **Outputs** - **Y** (*T2*): output **Attributes** - **detect_negative** (*int*): (Optional) Whether map negative infinity to true. Default to 1 so that negative infinity induces true. Set this attribute to 0 if negative infinity should be mapped to false. - **detect_positive** (*int*): (Optional) Whether map positive infinity to true. Default to 1 so that positive infinity induces true. Set this attribute to 0 if positive infinity should be mapped to false. **Type Constraints** - **T1**: Constrain input types to float tensors. Allowed types: tensor(double), tensor(float). - **T2**: Constrain output types to boolean tensors. Allowed types: tensor(bool).