start=time.time() driver.Run_Conv(conv, 1,32, 3,3, 1,1, 1,0, src_buffer,PTR_IMG,W_conv1,PTR_W_CONV1,h_conv1,PTR_H_CONV1) driver.Run_Pool(pool,dma, 32, 4,4, h_conv1,h_pool1) driver.Run_Conv(conv, 32,256, 7,7, 1,1, 0,0, h_pool1,PTR_H_POOL1,W_fc1,PTR_W_FC1,h_fc1,PTR_H_FC1) driver.Run_Conv(conv, 256,10, 1,1, 1,1, 0,0, h_fc1,PTR_H_FC1,W_fc2,PTR_W_FC2,h_fc2,PTR_H_FC2) end=time.time() print("Hardware run time=%s s"%(end-start))