# # 直接获取TensorShape变量的第i个维度值
# x.shape[i].value
# x.get_shape()[i].value
#
# # 将TensorShape变量转化为list类型,然后直接按照索引取值
# x.get_shape().as_list()
转载于:https://www.cnblogs.com/a-little-v/p/10837334.html
# # 直接获取TensorShape变量的第i个维度值
# x.shape[i].value
# x.get_shape()[i].value
#
# # 将TensorShape变量转化为list类型,然后直接按照索引取值
# x.get_shape().as_list()
转载于:https://www.cnblogs.com/a-little-v/p/10837334.html