how to copy float* to float*
float* seg_segmap = new float[OUTPUT_H * OUTPUT_W]; float* temp = new float[OUTPUT_H * OUTPUT_W]; //memcpy(temp, seg_segmap, sizeof(seg_segmap));//error memcpy(temp, seg_segmap, OUTPUT_H * OUTPUT_W*sizeof(float));
End