'Initialized model parameters.
Args:
num_char_classes: size of character set.
seq_length: number of characters in a sequence.
num_views: Number of views (conv towers) to use.
null_code: A character code corresponding to a character which
indicates end of a sequence.
mparams: a dictionary with hyper parameters for methods,  keys -
function names, values - corresponding namedtuples.'

def __init__(self, num_char_classes, seq_length, num_views, null_code, mparams=None):

    super(Model, self).__init__()
    self._params = ModelParams(num_char_classes=num_char_classes, seq_length=seq_length, num_views=num_views, null_code=null_code)
    self._mparams = self.default_mparams()
    if mparams:
        self._mparams.update(mparams)
