Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 390 Bytes

get_default_dtype_cn.rst

File metadata and controls

25 lines (14 loc) · 390 Bytes

get_default_dtype

.. py:function:: paddle.get_default_dtype()


得到当前全局的 dtype。该值初始是 float32。

参数

返回

string,这个全局 dtype 仅支持 float16、float32、float64。

代码示例

COPY-FROM: paddle.get_default_dtype