code: def set_hyperparameters(self, hyperparameters):
          
          for block_name, block_hyperparams in hyperparameters.items():
              self.blocks[block_name].set_hyperparameters(block_hyperparams)
docs: Set new hyperparameter values for some blocks.
  
          Args:
              hyperparameters (dict): A dictionary containing the block names as
                                      keys and the new hyperparameters dictionary
                                      as values.