Skip to content

Commit

Permalink
Update programming_guide.md (PaddlePaddle#664)
Browse files Browse the repository at this point in the history
* Update programming_guide.md

* Update programming_guide_en.md
  • Loading branch information
tink2123 authored and shanyi15 committed Mar 1, 2019
1 parent 8e68fa0 commit 12cf426
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]])

Expand Down

0 comments on commit 12cf426

Please sign in to comment.