提交 34c281a0 编写于 作者: X xiaoting 提交者: lvmengsi

mv import __future to begging of file (#772)

mv import __future to begging of file 
上级 f3bc752a
......@@ -123,12 +123,12 @@ $\hat{Y}$ 表示模型的预测结果,用来和真实值$Y$区分。模型要
### 配置数据提供器(Datafeeder)
首先我们引入必要的库:
```python
from __future__ import print_function
import paddle
import paddle.fluid as fluid
import numpy
import math
import sys
from __future__ import print_function
```
我们通过uci_housing模块引入了数据集合[UCI Housing Data Set](http://paddlemodels.bj.bcebos.com/uci_housing/housing.data)
......
......@@ -125,12 +125,12 @@ In a more complex model training process, we often need more than one dataset: t
First we import the libraries:
```python
from __future__ import print_function
import paddle
import paddle.fluid as fluid
import numpy
import math
import sys
from __future__ import print_function
```
We introduced the dataset [UCI Housing dataset](http://paddlemodels.bj.bcebos.com/uci_housing/housing.data) via the uci_housing module
......
......@@ -165,12 +165,12 @@ $\hat{Y}$ 表示模型的预测结果,用来和真实值$Y$区分。模型要
### 配置数据提供器(Datafeeder)
首先我们引入必要的库:
```python
from __future__ import print_function
import paddle
import paddle.fluid as fluid
import numpy
import math
import sys
from __future__ import print_function
```
我们通过uci_housing模块引入了数据集合[UCI Housing Data Set](http://paddlemodels.bj.bcebos.com/uci_housing/housing.data)
......
......@@ -167,12 +167,12 @@ In a more complex model training process, we often need more than one dataset: t
First we import the libraries:
```python
from __future__ import print_function
import paddle
import paddle.fluid as fluid
import numpy
import math
import sys
from __future__ import print_function
```
We introduced the dataset [UCI Housing dataset](http://paddlemodels.bj.bcebos.com/uci_housing/housing.data) via the uci_housing module
......
......@@ -183,13 +183,13 @@ PaddlePaddle在API中提供了自动加载[MNIST](http://yann.lecun.com/exdb/mni
加载 PaddlePaddle 的 Fluid API 包。
```python
from __future__ import print_function # 将python3中的print特性导入当前版本
import os
from PIL import Image # 导入图像处理模块
import matplotlib.pyplot as plt
import numpy
import paddle # 导入paddle模块
import paddle.fluid as fluid
from __future__ import print_function # 将python3中的print特性导入当前版本
```
### Program Functions 配置
......
......@@ -162,13 +162,13 @@ In the code examples below, we'll take a closer look at them.
Load the Fluid API package for PaddlePaddle.
```python
from __future__ import print_function #load print of python3 into current version
import os
from PIL import Image # load module of image processing
import matplotlib.pyplot as plt
import numpy
import paddle # load paddle module
import paddle.fluid as fluid
from __future__ import print_function #load print of python3 into current version
```
### Program Functions Configuration
......
......@@ -225,13 +225,13 @@ PaddlePaddle在API中提供了自动加载[MNIST](http://yann.lecun.com/exdb/mni
加载 PaddlePaddle 的 Fluid API 包。
```python
from __future__ import print_function # 将python3中的print特性导入当前版本
import os
from PIL import Image # 导入图像处理模块
import matplotlib.pyplot as plt
import numpy
import paddle # 导入paddle模块
import paddle.fluid as fluid
from __future__ import print_function # 将python3中的print特性导入当前版本
```
### Program Functions 配置
......
......@@ -204,13 +204,13 @@ In the code examples below, we'll take a closer look at them.
Load the Fluid API package for PaddlePaddle.
```python
from __future__ import print_function #load print of python3 into current version
import os
from PIL import Image # load module of image processing
import matplotlib.pyplot as plt
import numpy
import paddle # load paddle module
import paddle.fluid as fluid
from __future__ import print_function #load print of python3 into current version
```
### Program Functions Configuration
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册