Revert "Revert "fix return type for bool functions""

This reverts commit f58776c046.
This commit is contained in:
perseusdg
2021-08-16 14:06:56 +05:30
parent f58776c046
commit 52db97a140
4 changed files with 6 additions and 1 deletions
+1
View File
@@ -183,6 +183,7 @@ class SegmentationNN {
checkCuda(cudaMemcpyAsync(mean_d, mean.data(), mean.size() * sizeof(float), cudaMemcpyHostToDevice, netRT->stream));
checkCuda(cudaMemcpyAsync(stddev_d, stddev.data(), stddev.size() * sizeof(float), cudaMemcpyHostToDevice, netRT->stream));
return true;
}