Back to FabImage Deep Learning website
You are here: Start » Computer Vision » Deep Learning » ConvertTensorToImage

ConvertTensorToImage
Header: | FILDL.h |
---|---|
Namespace: | fil |
Module: | DeepLearning |
Converts a NHWC tensor to an image. Only data for N equal to 0 is converted.
Syntax
C++
C#
void fil::ConvertTensorToImage ( const fil::Tensor& inTensor, fil::Image& outImage )
Parameters
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inTensor must be 4-dimensional. |
DomainError | inTensor must have NHWC ordering. |