SAIFIINDUSTRIES's picture
Add Batch 2 with 10 repos
1893362 verified
Raw
History Blame
443 Bytes
import numpy as np
weight = np.load('./weight.npy',encoding = "latin1") #加载文件
activate = np.load('./inputmodel.npy',encoding = "latin1") #加载文件
output = np.load('./outputresult.npy',encoding = "latin1") #加载文件
# doc = open('1.txt', 'a') #打开一个存储文件,并依次写入
# print(test, file=doc) #将打印内容写入文件中
print(activate.shape)
print(weight.shape)
print(output.shape)
print(output[0])