ConvertImageToTensor


Header: AVLDL.h
Namespace: weaver
Module: DeepLearning

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

Syntax

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

Parameters

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