ConvertRealArrayToTensor


Header: AVLDL.h
Namespace: weaver
Module: DeepLearning

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

Syntax

void weaver::ConvertRealArrayToTensor
(
	const atl::Array<float>& inRealArray,
	const atl::Array<int>& inTensorDimensions,
	avl::TensorDataOrdering::Type inTensorDataOrdering,
	avl::Tensor& outTensor
)

Parameters

Name Type Default Description
Input value
inRealArray const Array<float>&
Input value
inTensorDimensions const Array<int>&
Input value
inTensorDataOrdering TensorDataOrdering::Type
Output value
outTensor Tensor&