Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members
HomogenTensor Class Reference

A derivative class of the Tensor class, that provides methods to access the data that is stored as a contiguous homogeneous array. More...

Class Constructor

◆ HomogenTensor() [1/10]

HomogenTensor ( DaalContext  context,
HomogenTensorImpl  impl 
)

Constructs homogeneous tensor using implementation provided by user

Parameters
contextContext to manage created homogeneous tensor
implImplementation of homogeneous tensor

◆ HomogenTensor() [2/10]

HomogenTensor ( DaalContext  context,
long []  dims,
double []  data 
)

Constructs homogeneous tensor from the array of doubles

Parameters
contextContext to manage created homogeneous tensor
dimsDimensions of the tensor
dataArray with the tensor data

◆ HomogenTensor() [3/10]

HomogenTensor ( DaalContext  context,
long []  dims,
float []  data 
)

Constructs homogeneous tensor from the array of floats

Parameters
contextContext to manage created homogeneous tensor
dimsDimensions of the tensor
dataArray with the tensor data

◆ HomogenTensor() [4/10]

HomogenTensor ( DaalContext  context,
long []  dims,
int []  data 
)

Constructs homogeneous tensor from the array of integers

Parameters
contextContext to manage created homogeneous tensor
dimsDimensions of the tensor
dataArray with the tensor data

◆ HomogenTensor() [5/10]

HomogenTensor ( DaalContext  context,
long []  dims,
long []  data 
)

Constructs homogeneous tensor from the array of longs

Parameters
contextContext to manage created homogeneous tensor
dimsDimensions of the tensor
dataArray with the tensor data

◆ HomogenTensor() [6/10]

HomogenTensor ( DaalContext  context,
long []  dims,
double []  data,
double  constValue 
)

Constructs homogeneous tensor from the array of doubles and filling the tensor with a constant

Parameters
contextContext to manage created homogeneous tensor
dimsDimensions of the tensor
dataArray with the tensor data
constValueConstant to initialize entries of the homogeneous tensor

◆ HomogenTensor() [7/10]

HomogenTensor ( DaalContext  context,
long []  dims,
float []  data,
float  constValue 
)

Constructs homogeneous tensor from the array of floats and filling the tensor with a constant

Parameters
contextContext to manage created homogeneous tensor
dimsDimensions of the tensor
dataArray with the tensor data
constValueConstant to initialize entries of the homogeneous tensor

◆ HomogenTensor() [8/10]

HomogenTensor ( DaalContext  context,
long []  dims,
int []  data,
int  constValue 
)

Constructs homogeneous tensor from the array of integers and filling the tensor with a constant

Parameters
contextContext to manage created homogeneous tensor
dimsDimensions of the tensor
dataArray with the tensor data
constValueConstant to initialize entries of the homogeneous tensor

◆ HomogenTensor() [9/10]

HomogenTensor ( DaalContext  context,
long []  dims,
long []  data,
long  constValue 
)

Constructs homogeneous tensor from the array of longs and filling the tensor with a constant

Parameters
contextContext to manage created homogeneous tensor
dimsDimensions of the tensor
dataArray with the tensor data
constValueConstant to initialize entries of the homogeneous tensor

◆ HomogenTensor() [10/10]

HomogenTensor ( DaalContext  context,
long  cObject 
)

Constructs homogeneous tensor from C++ homogeneous tensor

Parameters
contextContext to manage created homogeneous tensor
cObjectPointer to C++ tensor

Detailed Description

Member Function Documentation

◆ getDataObject()

Object getDataObject ( )

Gets data as an Object

Returns
Tensor data as an Object

◆ getNumericType()

Class<? extends Number> getNumericType ( )

Gets numeric type of data stored in the tensor

Returns
Numeric type of the tensor data

◆ getSubtensor() [1/3]

DoubleBuffer getSubtensor ( long []  fixedDims,
long  rangeDimIdx,
long  rangeDimNum,
DoubleBuffer  buf 
)

◆ getSubtensor() [2/3]

FloatBuffer getSubtensor ( long []  fixedDims,
long  rangeDimIdx,
long  rangeDimNum,
FloatBuffer  buf 
)

◆ getSubtensor() [3/3]

IntBuffer getSubtensor ( long []  fixedDims,
long  rangeDimIdx,
long  rangeDimNum,
IntBuffer  buf 
)

◆ releaseSubtensor() [1/3]

void releaseSubtensor ( long []  fixedDims,
long  rangeDimIdx,
long  rangeDimNum,
FloatBuffer  buf 
)

◆ releaseSubtensor() [2/3]

void releaseSubtensor ( long []  fixedDims,
long  rangeDimIdx,
long  rangeDimNum,
DoubleBuffer  buf 
)

◆ releaseSubtensor() [3/3]

void releaseSubtensor ( long []  fixedDims,
long  rangeDimIdx,
long  rangeDimNum,
IntBuffer  buf 
)

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.