You are here: Start » DLInvoke.ConvertRealArrayToTensor

DLInvoke.ConvertRealArrayToTensor

Converts an array of reals to a tensor with provided dimensions and the ordering.

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

Syntax

C++
C#
 
public static void ConvertRealArrayToTensor
(
	List<float> inRealArray,
	List<int> inTensorDimensions,
	Avl.TensorDataOrdering inTensorDataOrdering,
	Avl.Tensor outTensor
)

Parameters

Name Type Range Default Description
inRealArraySystem.Collections.Generic.List<float>
inTensorDimensionsSystem.Collections.Generic.List<int>
inTensorDataOrderingAvl.TensorDataOrdering
outTensorAvl.Tensor

See also