tf.slice( input_, begin, size, name=None)这个操作从begin指定的位置开始,从张量输入中提取一个大小为size的切片。...1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]], [[5, 5, 5], [6, 6, 6]]])tf.slice...(t, [1, 0, 0], [1, 1, 3]) # [[[3, 3, 3]]]tf.slice(t, [1, 0, 0], [1, 2, 3]) # [[[3, 3, 3],...# [4, 4, 4]]]tf.slice(t, [1, 0, 0], [2, 1, 3]) # [[[3, 3, 3]], #