运行出错 return tf.nn.conv2d([1,1,1,1],padding='SAME')
报错:conv2d() missing 2 required positional arguments: ‘filter’ and ‘strides’
报错:conv2d() missing 2 required positional arguments: ‘filter’ and ‘strides’
2018-07-06
def conv2d(x,W): # return tf.nn.conv2d(x,W,strides=[1,1,1,1],padding="SAME") return tf.nn.conv2d(x, W, strides=[1, 1, 1, 1], padding='SAME')
参考tensorflow官方文档,老师将的和官方文档基本是一致的。老师视频里面少了两个参数
举报