Back to Aurora Vision Deep Learning website
You are here: Start » Computer Vision » Deep Learning » ConvertImageToTensor
ConvertImageToTensor
| Header: | AVLDL.h |
|---|---|
| Namespace: | avl |
| Module: | DeepLearning |
Converts an image to a NHWC tensor, with N equal to 1.
Syntax
C++
C#
void avl::ConvertImageToTensor ( const avl::Image& inImage, avl::Tensor& outTensor )
Parameters
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Passed inImage is too large. Use smaller image. |


