tensorflow笔记(一)
tensorflow笔记(一)
关于准备数据中的相关代码的解释
# 准备数据
import tensorflow as tf
import numpy as np
import matplotlib.pyplot as plt
train_x = np.linspace(-1, 1, 100)
# x为[-1,1]的一百个数字
train_y = 2*train_x+np.random.randn...
原创
2019-10-18 18:50:05 ·
91 阅读 ·
0 评论