AvsFilter_ConvertImageToTensor


Header: AVLDL.h
Namespace: weaver
Module: DeepLearning

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

Syntax

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

Parameters

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