tf.nn.conv2d实现卷积的过程
摘要:
#coding=utf-8 import tensorflow as tf #case 2 input = tf.Variable(tf.round(10 * tf.random_normal([1,3,3,2]))) filter = tf.Variable(tf.round(5 * tf.random_normal([1,1,2,1]))) op2 = tf.nn.conv2d(inp... 阅读全文
posted @ 2017-09-26 18:26 Maddock 阅读(2459) 评论(0) 推荐(0) 编辑