leon 5 月之前
父節點
當前提交
59b3024002
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/resnet.cu

+ 1 - 1
src/resnet.cu

@@ -400,7 +400,7 @@ class InferImpl : public Infer {
                                  output_array_.gpu_bytes(), cudaMemcpyDeviceToHost, stream_));
     checkRuntime(cudaStreamSynchronize(stream_));
 
-    vector<Attribute> arrout();
+    vector<Attribute> arrout;
     arrout.reserve(num_image);
 
     for (int ib = 0; ib < num_image; ++ib) {