A derivative class of the Tensor class, that provides methods to access the data that is stored as a contiguous homogeneous array.
More...
◆ HomogenTensor() [1/10]
Constructs homogeneous tensor using implementation provided by user
- Parameters
-
context | Context to manage created homogeneous tensor |
impl | Implementation of homogeneous tensor |
◆ HomogenTensor() [2/10]
Constructs homogeneous tensor from the array of doubles
- Parameters
-
context | Context to manage created homogeneous tensor |
dims | Dimensions of the tensor |
data | Array with the tensor data |
◆ HomogenTensor() [3/10]
Constructs homogeneous tensor from the array of floats
- Parameters
-
context | Context to manage created homogeneous tensor |
dims | Dimensions of the tensor |
data | Array with the tensor data |
◆ HomogenTensor() [4/10]
Constructs homogeneous tensor from the array of integers
- Parameters
-
context | Context to manage created homogeneous tensor |
dims | Dimensions of the tensor |
data | Array with the tensor data |
◆ HomogenTensor() [5/10]
Constructs homogeneous tensor from the array of longs
- Parameters
-
context | Context to manage created homogeneous tensor |
dims | Dimensions of the tensor |
data | Array with the tensor data |
◆ HomogenTensor() [6/10]
Constructs homogeneous tensor from the array of doubles and filling the tensor with a constant
- Parameters
-
context | Context to manage created homogeneous tensor |
dims | Dimensions of the tensor |
data | Array with the tensor data |
constValue | Constant to initialize entries of the homogeneous tensor |
◆ HomogenTensor() [7/10]
Constructs homogeneous tensor from the array of floats and filling the tensor with a constant
- Parameters
-
context | Context to manage created homogeneous tensor |
dims | Dimensions of the tensor |
data | Array with the tensor data |
constValue | Constant to initialize entries of the homogeneous tensor |
◆ HomogenTensor() [8/10]
Constructs homogeneous tensor from the array of integers and filling the tensor with a constant
- Parameters
-
context | Context to manage created homogeneous tensor |
dims | Dimensions of the tensor |
data | Array with the tensor data |
constValue | Constant to initialize entries of the homogeneous tensor |
◆ HomogenTensor() [9/10]
Constructs homogeneous tensor from the array of longs and filling the tensor with a constant
- Parameters
-
context | Context to manage created homogeneous tensor |
dims | Dimensions of the tensor |
data | Array with the tensor data |
constValue | Constant to initialize entries of the homogeneous tensor |
◆ HomogenTensor() [10/10]
Constructs homogeneous tensor from C++ homogeneous tensor
- Parameters
-
context | Context to manage created homogeneous tensor |
cObject | Pointer to C++ tensor |
◆ 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: