提交 12cf426d 编写于 作者: T Tink_Y 提交者: Cheerego

Update programming_guide.md (#664)

* Update programming_guide.md

* Update programming_guide_en.md
上级 8e68fa02
......@@ -133,8 +133,8 @@ exe.run(fluid.default_startup_program()) #网络参数初始化
#准备数据
import numpy
data_1 = input("a=")
data_2 = input("b=")
data_1 = int(input("Please enter an integer: a="))
data_2 = int(input("Please enter an integer: b="))
x = numpy.array([[data_1]])
y = numpy.array([[data_2]])
......
......@@ -137,8 +137,8 @@ exe.run(fluid.default_startup_program()) #initialize network parameters
#Prepare data
import numpy
data_1 = input("a=")
data_2 = input("b=")
data_1 = int(input("Please enter an integer: a="))
data_2 = int(input("Please enter an integer: b="))
x = numpy.array([[data_1]])
y = numpy.array([[data_2]])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册