Functions | |
| eErrorType | SR_LoadClsTestNetworkInGPU (ClsTestHandle handle, int GPUNumber, int batchSize=1) |
| Allocate required cpu & gpu memory. More... | |
| eErrorType | SR_LoadDetTestNetworkInGPU (DetTestHandle handle, int GPUNumber) |
| Allocate required cpu & gpu memory. More... | |
| eErrorType | SR_LoadOCRTestNetworkInGPU (OCRTestHandle handle, int GPUNumber) |
| Allocate required cpu & gpu memory. More... | |
| eErrorType | SR_LoadSegTestNetworkInGPU (SegTestHandle handle, int GPUNumber, int batchSize=1) |
| Allocate required cpu & gpu memory. More... | |
검사에 필요한 cpu & gpu 메모리를 할당합니다.
만약 이용가능한 메모리가 부족하다면 eErrorType::OUT_OF_GPU_MEMORY 에러코드를 반환합니다.
| eErrorType SR_LoadClsTestNetworkInGPU | ( | ClsTestHandle | handle, |
| int | GPUNumber, | ||
| int | batchSize = 1 |
||
| ) |
Allocate required cpu & gpu memory.
For batch-inspection, batchSize should be set larger than 1 to get reasonable performance.
| handle | classification file handler |
| GPUNumber | gpu index to use for inspection (ex, 0, 1, ...) |
| batchSize | maximum number of images to inspect in once |
| eErrorType SR_LoadDetTestNetworkInGPU | ( | DetTestHandle | handle, |
| int | GPUNumber | ||
| ) |
Allocate required cpu & gpu memory.
| handle | detection file handler |
| GPUNumber | gpu index to use for inspection (ex, 0, 1, ...) |
| eErrorType SR_LoadOCRTestNetworkInGPU | ( | OCRTestHandle | handle, |
| int | GPUNumber | ||
| ) |
Allocate required cpu & gpu memory.
| handle | OCR file handler |
| GPUNumber | gpu index to use for inspection (ex, 0, 1, ...) |
| eErrorType SR_LoadSegTestNetworkInGPU | ( | SegTestHandle | handle, |
| int | GPUNumber, | ||
| int | batchSize = 1 |
||
| ) |
Allocate required cpu & gpu memory.
For batch-inspection, batchSize should be set larger than 1 to get reasonable performance.
| handle | segmentation file handler |
| GPUNumber | gpu index to use for inspection (ex, 0, 1, ...) |
| batchSize | maximum number of images to inspect in once |