(self, model)
Create a new instance of this visualization.

        `BaseVisualization` is an interface and should only be instantiated via
        a subclass.

        Args:
            model (:obj:`.models.model.BaseModel`): NN model to be
                visualized.
Create a new instance of this visualization.
Create a new instance of this visualization .
def __init__(self, model):
        """Create a new instance of this visualization.

        `BaseVisualization` is an interface and should only be instantiated via
        a subclass.

        Args:
            model (:obj:`.models.model.BaseModel`): NN model to be
                visualized.

        """
        self._model = model

        # give default settings
        if self.ALLOWED_SETTINGS:
            self.update_settings({setting: self.ALLOWED_SETTINGS[setting][0]
                                  for setting in self.ALLOWED_SETTINGS})
def __init__ ( self , model ) : self . _model = model # give default settings if self . ALLOWED_SETTINGS : self . update_settings ( { setting : self . ALLOWED_SETTINGS [ setting ] [ 0 ] for setting in self . ALLOWED_SETTINGS } )