总结就是只改变最后一个维度的数量
import tensorflow as tf
inputs = tf.ones([2,20])
a = tf.layers.dense(inputs,60)
print(a.get_shape
总结就是只改变最后一个维度的数量
import tensorflow as tf
inputs = tf.ones([2,20])
a = tf.layers.dense(inputs,60)
print(a.get_shape