Results obtained with the compute() method of the forward element-wise sum layer in the batch processing mode.
More...
| def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory to store the result of forward element-wise sum layer
- Parameters
-
| input | Input object for the algorithm |
| parameter | Parameter of forward element-wise sum layer |
| method | Computation method for the layer |
- 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 element-wise sum layer
- Parameters
-
| input | Input object of the layer |
| par | Parameter of the layer |
| method | Computation method of the layer |
- Returns
- Status of computations
| def getLayerData |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns the result tensor of forward element-wise sum layer
- Parameters
-
| id | Identifier of the result tensor |
- Returns
- Result tensor that corresponds to the given identifier
| def getLayerDataNumericTable |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns the result numeric table of the forward element-wise sum layer
- Parameters
-
| id | Identifier of the result numeric table |
- Returns
- Result numeric table that corresponds to the given identifier
| def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Result self) -> int
| def getValueSize |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Returns dimensions of value tensor
- Returns
- Dimensions of value tensor
- Variant 2
Returns collection of dimensions of element-wise sum layer output
- Parameters
-
| inputSize | Collection of input tensors dimensions |
| parameter | Parameters of the algorithm |
| method | Method of the algorithm |
- Returns
- Collection of dimensions of element-wise sum layer output
| def setLayerData |
( |
|
self, |
|
|
|
id, |
|
|
|
value |
|
) |
| |
Sets the result tensor of forward element-wise sum layer
- Parameters
-
| id | Identifier of the result tensor |
| value | Result tensor |
| def setLayerDataNumericTable |
( |
|
self, |
|
|
|
id, |
|
|
|
value |
|
) |
| |
Sets the result numeric table of the forward element-wise sum layer
- Parameters
-
| id | Identifier of the result numeric table |
| value | Result numeric tensor |
| def setResultForBackward |
( |
|
self, |
|
|
|
input |
|
) |
| |
Sets the result that is used in backward layer
- Parameters
-
| input | Pointer to an object containing the input data |
- Returns
- Status of operation
The documentation for this class was generated from the following file: