code: def _log_model(self, save_path: str) -> None:
      if self.clearml_model:
          if os.path.exists(save_path):
              self.clearml_model.update_weights(
                  weights_filename=save_path,
                  upload_uri=self.clearml_task.storage_uri
                  or self.clearml_task._get_default_report_storage_uri(),
                  auto_delete_file=False,
                  is_package=True,
              )
  
              if self.clearml_cfg.log_metrics and self.last_metrics:
                  self.clearml_model.set_all_metadata(self.last_metrics)
  
              self.save_blocked = True
          else:
              logging.warning(
                  (
                      f"Logging model enabled, but cant find .nemo file!"
                      f" Path: {save_path}"
                  )
              )
  
imports: import os
  from argparse import Namespace
  from dataclasses import dataclass
  from pathlib import Path
  from typing import Any, List, Literal, Mapping, Optional, Union
  import pandas
  from lightning_utilities.core.apply_func import apply_to_collection
  from omegaconf import DictConfig, ListConfig, OmegaConf
  from pytorch_lightning.callbacks import Checkpoint
  from pytorch_lightning.loggers import Logger
  from pytorch_lightning.utilities.parsing import AttributeDict
  from torch import Tensor
  from nemo.utils import logging
label_desc: Use image node_id 9 for calling the ClearMLLogger obj's underlying member method code with example usage: obj._log_model(save_path) without return types