diff --git a/doc/fluid/api_cn/layers_cn/create_tensor_cn.rst b/doc/fluid/api_cn/layers_cn/create_tensor_cn.rst index f1a09ccc2fa3e540df77cec413aac76cd97ff5c0..651a5c4901cd8664150a94cc326c7ca64ed804d4 100644 --- a/doc/fluid/api_cn/layers_cn/create_tensor_cn.rst +++ b/doc/fluid/api_cn/layers_cn/create_tensor_cn.rst @@ -26,11 +26,11 @@ create_tensor type: LOD_TENSOR lod_tensor { tensor { - data_type: INT8 + data_type: FP32 } } } persistable: false """ import paddle.fluid as fluid - tensor = fluid.layers.create_tensor(dtype='float32') \ No newline at end of file + tensor = fluid.layers.create_tensor(dtype='float32')