tensorflow笔记
前向传播代码实现
#前向传播算法占位符
#定义输入和参数
import tensorflow as tf
x=tf.placeholder(tf.float32,shape=(1,2))
w1=tf.Variable(tf.random_normal([2,3],stddev=1,seed=1))
w2=tf.Variable(tf.random_normal([3,1],stddev=1,see...
原创
2018-12-31 13:42:37 ·
135 阅读 ·
0 评论