import tensorflow as tf import numpy as np a = np.array([1,2,3,4,5,6,7,8,9],dtype='float32'); a = a.reshape(3,3); c = a + [22,33,44];#c.dtype='float64' c = c.astype(np.float32) #c.dtype = 'float32' print('c=',c);
文章标签 tensorflow 知识 文章分类 代码人生
import tensorflow as tf import numpy as np a = np.array([1,2,3,4,5,6,7,8,9],dtype='float32'); a = a.reshape(3,3); c = a + [22,33,44];#c.dtype='float64' c = c.astype(np.float32) #c.dtype = 'float32' print('c=',c);
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M