ConvertImageToTensor


Header: FILDL.h
Namespace: weaver
Module: DeepLearning

Converts an image to a NHWC tensor, with N equal to 1.

Syntax

void weaver::ConvertImageToTensor
(
	const fil::Image& inImage,
	fil::Tensor& outTensor
)

Parameters

Name Type Default Description
Input value
inImage const Image& Input image
Output value
outTensor Tensor&