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) {