y,z],axis=0) ==> [[1,4],[2,5],[3,6]]tf.stack([x,y,z],axis=1) ==> [[1, 2, 3], [4, 5, 6]]tf.stack将一组R维张量变为...R+1维张量。...tf.squeeze(arr)).shape)输出:----------------(3, 4, 1, 6, 1)(3, 4, 6, 1)(3, 4, 6)(3, 4, 6)----------------3、张量切片...tf.sliceslice(input_, begin, size, name=None)从张量中提取一个切片。