def _log_params(self, block):
    params = block.collect_params().values()
    for param in params:
        self._log_param(param)
def _log_params(self, block):
    params = block.collect_params().values()
    for param in params:
        self._log_param(param)