Provides methods to access the result obtained with the compute() method of the forward split layer.
More...
| def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory to store the result of the forward split layer
- Parameters
-
| input | Pointer to an object containing the input data |
| parameter | Parameter of the algorithm |
| method | Computation method for the algorithm |
- Returns
- Status of computations
- Full Names
allocate_Float64 is for float64
allocate_Float32 is for float32
| def check |
( |
|
self, |
|
|
|
input, |
|
|
|
par, |
|
|
|
method |
|
) |
| |
Checks the result of the forward split layer
- Parameters
-
| input | Input object for the algorithm |
| par | Parameter of the algorithm |
| method | Computation method |
- Returns
- Status of computations
Returns the layout of the result object for the layer algorithm
- Returns
- Layout of the result object for the layer algorithm
| def getResultLayerData |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Returns a tensor with a given index from the result
- Parameters
-
| id | Identifier of the collection of input tensors |
| index | Index of the tensor to be returned |
- Returns
- Pointer to the table with the input tensor
- Variant 2
Returns result of the layer algorithm
- Parameters
-
| id | Identifier of the result |
- Returns
- Result that corresponds to the given identifier
| def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Result self) -> int
| def getValue |
( |
|
self, |
|
|
|
index |
|
) |
| |
Returns resulting value of the forward split layer
- Parameters
-
| index | Index of the tensor with value |
- Returns
- Resulting value that corresponds to the given index
| def getValueCollectionSize |
( |
|
self, |
|
|
|
inputSize, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Returns collection of dimensions of split layer output
- Parameters
-
| inputSize | Collection of input tensor dimensions |
| parameter | Parameters of the algorithm |
| method | Method of the algorithm |
- Returns
- Collection of dimensions of split layer output
| def getValueSize |
( |
|
self, |
|
|
|
inputSize, |
|
|
|
par, |
|
|
|
method |
|
) |
| |
Returns collection of dimensions of split layer output
- Parameters
-
| inputSize | Collection of input tensor dimensions |
| par | Parameters of the algorithm |
| method | Method of the algorithm |
- Returns
- Collection of dimensions of split layer output
| def setResultLayerData |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Sets the result of the forward split layer
- Parameters
-
| id | Identifier of the result |
| value | Result |
- Variant 2
Sets the result of the forward split layer
- Parameters
-
| id | Identifier of the result |
| value | Result |
| index | Index of the result |
The documentation for this class was generated from the following file: