Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 674 Bytes

File metadata and controls

35 lines (21 loc) · 674 Bytes

Constants

The following constants are defined in :py:mod:`dpctl.tensor`:

.. currentmodule:: dpctl.tensor

.. autodata:: DLDeviceType

.. data:: e

   ``float``:
        IEEE 754 floating-point representation of Euler's constant.

.. data:: inf

   ``float``:
        IEEE 754 floating-point representation of (positive) infinity.

.. data:: nan

   ``float``:
        IEEE 754 floating-point representation of Not a Number (NaN).

.. data:: newaxis

   ``NoneType``:
        Alias for ``None`` which is useful for indexing.

.. data:: pi

   ``float``:
        IEEE 754 floating-point representation of the mathematical constant π.