|
NVIDIA NvNeural SDK
2022.2
GPU inference framework for NVIDIA Nsight Deep Learning Designer
|
Defines one image component to load into a tensor. More...
#include <CpuImage.h>
Public Member Functions | |
| ImageDescriptor (std::string filename_, std::size_t channels_) | |
| Constructs an ImageDescriptor with filename and channel count. More... | |
Public Attributes | |
| std::size_t | channels = DefaultChannels |
| Number of channels to take from the image. | |
| std::string | filename |
| Filename of an image. | |
Static Public Attributes | |
| static const std::size_t | DefaultChannels = 0 |
| Use the channel count from the image file. | |
Defines one image component to load into a tensor.
Used by IFileImage interface functions.
|
inline |
Constructs an ImageDescriptor with filename and channel count.
| filename_ | Filename to store |
| channels_ | Channel count to store |