.. _dpnp_tensor_constants: Constants ========= The following constants are defined in :py:mod:`dpnp.tensor`: .. currentmodule:: dpnp.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 π.