tensorflow2.0筆記5:tensorFlow2.0中的索引和切片!

tensorFlow2.0中的索引和切片 文章目錄 一、索引與切片 1.1、最基本的索引方式 1.2、Numpy的索引方式 1.3、切片(單冒號),start:end 1.4、切片(雙冒號),start: end: step 隔着採樣。 1.4.1、雙冒號另一個神奇的功能: tensor倒序 1.5、切片(省略號) ... 1.6、Selective Indexing 1.6.1、tf.gathe
相關文章
相關標籤/搜索