laymon.observers

Module Contents

Classes

FeatureMapObserver(layer, layer_name, update_display) An class used to create observers that are used to monitor the feature maps of the given layer.
FeatureMapObserverFactory() A factory type class to create a FeatureMapObserver for the given layer
class laymon.observers.FeatureMapObserver(layer, layer_name, update_display)[source]

Bases: laymon.interfaces.Observer

An class used to create observers that are used to monitor the feature maps of the given layer.

update(self, parameters)[source]

Update the display attached to the observer with the new parameters/activations. :param parameters: Tensor :return: None

get_layer_name(self)[source]

Returns the layer name being observed.

get_layer(self)[source]

Returns the layer object being observed.

class laymon.observers.FeatureMapObserverFactory[source]

Bases: laymon.interfaces.ObserverFactory

A factory type class to create a FeatureMapObserver for the given layer

display_object[source]
create(self, layer, layer_name)[source]

Create a FeatureMapObserver for the given layer and attaches the display function for the layer being monitored. :param layer: :param layer_name: :return: