昨天歙县发生一起坠马事故,人员受伤严重!(组图)

paddle. iinfo ( dtype ) [source]
百度 莲石路-西五环南行-园博园大道-太子峪路-云冈路-良三路-穿良乡城区-窦店-房窑路-紫码路-西南召-码头镇-河北涿州影视城-南营村-东仙坡镇-百尺竿乡-大石窝镇广润庄-镇江营-张坊镇-十渡-浦洼-东村的花台-芦子水村-108国道北京城区。

paddle.iinfo is a function that returns an object that represents the numerical properties of an integer paddle.dtype. This is similar to numpy.iinfo.

Parameters

dtype (paddle.dtype|string) – One of paddle.uint8, paddle.int8, paddle.int16, paddle.int32, and paddle.int64.

Returns

  • min: int, The smallest representable integer number.

  • max: int, The largest representable integer number.

  • bits: int, The number of bits occupied by the type.

  • dtype: str, The string name of the argument dtype.

Return type

An iinfo object, which has the following 4 attributes

Examples

>>> import paddle

>>> iinfo_uint8 = paddle.iinfo(paddle.uint8)
>>> print(iinfo_uint8)
paddle.iinfo(min=0, max=255, bits=8, dtype=uint8)
>>> print(iinfo_uint8.min)
0
>>> print(iinfo_uint8.max)
255
>>> print(iinfo_uint8.bits)
8
>>> print(iinfo_uint8.dtype)
uint8