<reponame>LiJingkang/Python_Tensorflw_Learn
 

"""
Please note, this code is only for python 3+. If you are using python 2+, please modify the code accordingly.
"""
import tensorflow as tf
import numpy as np

# create data
x_data = np.random.rand(100).astype(np.float32)
y_data = x_data*0.1 + 0.3

### create tensorflow structure start ###

### create tensorflow structure end ###
          # Very important

for step in range(201):
    pass


"""
Please note, this code is only for python 3+. If you are using python 2+, please modify the code accordingly.
"""
import tensorflow as tf
import numpy as np

# create data
x_data = np.random.rand(100).astype(np.float32)
y_data = x_data*0.1 + 0.3

### create tensorflow structure start ###

### create tensorflow structure end ###
          # Very important

for step in range(201):
    pass
Please note, this code is only for python 3+. If you are using python 2+, please modify the code accordingly. # create data ### create tensorflow structure start ### ### create tensorflow structure end ### # Very important