bgd.layers.operators module

This module contains all the layers that are simple mathematical operators.

class bgd.layers.operators.Operator[source]

Bases: bgd.layers.layer.Layer

get_parameters()[source]

Retuns a tuple containing the parameters of the layer. If layer is non-learnable, None is returned instead. The tuple can have a size > 1 for convenience. For example, a convolutional neural layer has one array for the filters weights and one array for the biases.