摘要: 张量 01 张量的形状 import tensorflow as tf a=tf.constant(4) # 标量a print(a) tf.Tensor(4, shape=(), dtype=int32) b=tf.constant([2.0,3.0,4]) # 向量 print(b) tf.Te 阅读全文
posted @ 2022-06-28 15:50 Vandaci 阅读(36) 评论(0) 推荐(0)