tensorflow2.0學習筆記

1、Tensor 張量=多維數組 2、常量 tf.constant(12,(tf.float32)) 3、常用的精度類型有 tf.int16、tf.int32、tf.int64、tf.float16、tf.float32、 tf.float64,bool 等 4、讀取精度:  a.dtype() 5、類型轉換 :tf.cast(a,tf.float32) 6、待優化張量(變量):aa=tf.Var
相關文章
相關標籤/搜索