Input objects for the forward prelu layer
More...
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
- Variant 2
- Copy constructor
def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
par, |
|
|
|
method |
|
) |
| |
Allocates memory to store weights for the forward prelu layer
- Parameters
-
par | 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, |
|
|
|
par, |
|
|
|
method |
|
) |
| |
Checks input object of the forward prelu layer
- Parameters
-
par | Layer parameter |
method | Computation method of the layer |
- Returns
- Status of computations
def getBiasesSizes |
( |
|
self, |
|
|
|
parameter |
|
) |
| |
Returns dimensions of biases tensor
- Returns
- Dimensions of biases tensor
def getWeightsSizes |
( |
|
self, |
|
|
|
par |
|
) |
| |
Returns dimensions of weights tensor
- Returns
- Dimensions of weights tensor
The documentation for this class was generated from the following file: