Back to FabImage Deep Learning website

You are here: Start » Computer Vision » Deep Learning » ConvertTensorToRealArray

ConvertTensorToRealArray


Header: FILDL.h
Namespace: fil
Module: DeepLearning

Converts a tensor to an array of reals.

Syntax

C++
C#
 
void fil::ConvertTensorToRealArray
(
	const fil::Tensor& inTensor,
	ftl::Array<ftl::real>& outRealArray
)

Parameters

Name Type Default Description
Input value inTensor const Tensor&
Output value outRealArray Array<real>&

Errors

List of possible exceptions:

Error type Description
DomainError inTensor contains too much data.
DomainError inTensor must have Real data type.