code: def _warn_unused_additional_kwargs(loss_name, kwargs):
      if len(kwargs) > 0:
          logging.warning(
              f"Loss function `{loss_name}` was provided with following additional kwargs,\n"
              f"however they were ignored as it is unused.\n"
              f"{kwargs}"
          )
  
imports: import inspect
  import operator
  from dataclasses import dataclass
  from typing import Any, Callable, Dict, List, Optional, Set
  import torch
  from omegaconf import DictConfig, OmegaConf
  from nemo.collections.asr.losses.rnnt_pytorch import MultiblankRNNTLossPytorch, RNNTLossPytorch, TDTLossPytorch
  from nemo.core.classes import Loss, typecheck
  from nemo.core.neural_types import LabelsType, LengthsType, LogprobsType, LossType, NeuralType
  from nemo.core.utils import numba_utils
  from nemo.core.utils.k2_utils import K2_INSTALLATION_MESSAGE
  from nemo.core.utils.numba_utils import NUMBA_INSTALLATION_MESSAGE
  from nemo.utils import logging, logging_mode, model_utils
label_desc: Use image node_id 1 for calling a global function with example usage: _warn_unused_additional_kwargs(loss_name, kwargs) without return types