摘要: 张量 import tensorflow as tf #创建常量 rank_0_tensor = tf.constant(4) print(rank_0_tensor) #创建一阶张量(向量) rank_1_tensor = tf.constant([2.0, 3.0, 4.0]) print(ra 阅读全文
posted @ 2022-04-24 22:39 untitied 阅读(37) 评论(0) 推荐(0)