我试图tf.nn.deconv2d()在可变大小的数据批处理上使用op.但是,似乎我需要将output_shape参数设置如下:
tf.nn.deconv2d(x, filter, output_shape=[12, 24, 24, 5], strides=[1, 2, 2, 1],
padding="SAME")
Run Code Online (Sandbox Code Playgroud)
为什么tf.nn.deconv2d()要修一个output_shape?有没有办法指定变量批量维度?如果输入批量大小变化会发生什么?