Results obtained with the compute() method of the backward element-wise sum layer.
More...
def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory to store the result of backward element-wise sum layer
- Parameters
-
input | Object containing the input data |
parameter | Parameter of backward element-wise sum layer |
method | Computation method |
- 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 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 getGradient |
( |
|
self, |
|
|
|
index |
|
) |
| |
Returns resulting gradient of the backward element-wise layer
- Parameters
-
index | Index of the tensor with gradient |
- Returns
- Resulting gradient that corresponds to the given index
Returns the layout of the result object for the layer algorithm
- Returns
- Layout of the result object for the layer algorithm
def getResultLayerData |
( |
|
self, |
|
|
|
id, |
|
|
|
index |
|
) |
| |
Returns the result tensor of the backward element-wise layer
- Parameters
-
id | Identifier of the result tensor |
index | Index of the result tensor |
- Returns
- Input tensor that corresponds to the given identifier
def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Result self) -> int
def setResultLayerData |
( |
|
self, |
|
|
|
id, |
|
|
|
value, |
|
|
|
index |
|
) |
| |
Sets the result tensor for the backward element-wise layer
- Parameters
-
id | Identifier of the result tensor |
value | Pointer to the tensor |
index | Index of the result tensor |
The documentation for this class was generated from the following file: