可以看到s.shape和x.get_shape()都是返回TensorShape类型对象,而tf.shape(x)返回的是Tensor类型对象。 因此要想获得维度信息,则需要调用TensorShape的ts ...
確定! 回上一頁