Back to FabImage Deep Learning website

You are here: Start » Computer Vision » Deep Learning » ConvertImageArrayToTensor

ConvertImageArrayToTensor


Header: FILDL.h
Namespace: fil
Module: DeepLearning

Converts an array of images with the same format to a NHWC tensor.

Syntax

C++
C#
 
void fil::ConvertImageArrayToTensor
(
	const ftl::Array<fil::Image>& inImageArray,
	fil::Tensor& outTensor
)

Parameters

Name Type Default Description
Input value inImageArray const Array<Image>&
Output value outTensor Tensor&

Errors

List of possible exceptions:

Error type Description
DomainError All images must have the same width, height, depth and type.
DomainError Passed inImageArray is too large. Use fewer and/or smaller images.