niftynet.layer.base_layer module¶
-
class
TrainableLayer(name='trainable_op')[source]¶ Bases:
niftynet.layer.base_layer.LayerExtends the Layer object to have trainable parameters, adding initializers and regularizers.
-
initializers¶
-
regularizers¶
-
-
class
DataDependentLayer(name='data_dependent_op')[source]¶ Bases:
niftynet.layer.base_layer.LayerSome layers require a one-pass training through the training set to determine their internal models, this abstract provides interfaces for training these internal models and querying the status.
-
class
RandomisedLayer(name='randomised_op')[source]¶ Bases:
niftynet.layer.base_layer.LayerThe layers require a randomisation process, to randomly change some of the layer’s states on the fly.
-
class
LayerFromCallable(layer_op, name='from_callable_op')[source]¶ Bases:
niftynet.layer.base_layer.LayerModule wrapping a function provided by the user. Analogous to snt.Module