def rebuild(self, new_config):
    "\n        Recompile the model with the new hyper parameters.\n        NOTE: network topology is changing according to the 'new_config'\n        "
    self.config.update(new_config)
    (batch_sz, bands, frames, channels) = self.input_shape
    self.input_shape = (self.config['batch'], bands, self.config['context_wnd'], channels)
    self.build()
Recompile the model with the new hyper parameters.
NOTE: network topology is changing according to the 'new_config'
def rebuild(self, new_config):
    "\n        Recompile the model with the new hyper parameters.\n        NOTE: network topology is changing according to the 'new_config'\n        "
    self.config.update(new_config)
    (batch_sz, bands, frames, channels) = self.input_shape
    self.input_shape = (self.config['batch'], bands, self.config['context_wnd'], channels)
    self.build()