ConvertRealArrayToTensor


Header: FILDL.h
Namespace: weaver
Module: DeepLearning

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

Syntax

void weaver::ConvertRealArrayToTensor
(
	const ftl::Array<float>& inRealArray,
	const ftl::Array<int>& inTensorDimensions,
	fil::TensorDataOrdering::Type inTensorDataOrdering,
	fil::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&