code: def _get_current_learning_rates(self):
      learning_rates = {}
      if getattr(self.model, "optimizer", None) is not None:
          if len(self.model.optimizer.param_groups) > 1:
              learning_rates = {
                  f"lr_group_{i}": param_group["lr"]
                  for i, param_group in enumerate(
                      self.model.optimizer.param_groups
                  )
              }
          else:
              learning_rates = {
                  "lr": self.model.optimizer.param_groups[0]["lr"]
              }
      return learning_rates
  
imports: import csv
  import os
  from typing import Dict, Optional, TextIO
  from poutyne.framework.callbacks._utils import atomic_lambda_save
  from poutyne.framework.callbacks.callbacks import Callback
label_desc: Use image node_id 13 for calling the Logger obj's underlying member method code with example usage: obj._get_current_learning_rates() and returns: learning_rates