You are here: Start » DLInvoke.ConvertImageToTensor

DLInvoke.ConvertImageToTensor

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

Namespace:Avl
Assembly:AvlNet.DL.Cpu.dll

Syntax

C++
C#
 
public static void ConvertImageToTensor
(
	Avl.Image inImage,
	Avl.Tensor outTensor
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
outTensorAvl.Tensor

See also