.format()格式输出

print("x.shape = ", x.shape)
print('x.shape={}'.format(x.shape))

上面二者的输出一样