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
inRealArray const Array<float>&
inTensorDimensions const Array<int>&
inTensorDataOrdering TensorDataOrdering::Type
outTensor Tensor&