摘要: from mxnet import nd 创建向量 #创建行向量 x=nd.arange(12) print(x) #输出x的size print(x.shape) #把向量x的形状改成(3,4) X = x.reshape(3,4) print(X) Y = x.reshape(3,-1) pri 阅读全文
posted @ 2020-03-31 20:50 喵小喵~ 阅读(869) 评论(0) 推荐(0) 编辑