tensorflow中tf.slice和tf.gather切片函数的使用 tf.slice(input_,begin,size,name=None):按照指定的下标范围抽取连续区域的子集tf.gather(params,indices,v tf.slice