def METHOD_NAME(
    self,
    key_values: Dict[str, Any],
    key_excluded: Dict[str, Union[str, Tuple[str, ...]]],
    step: int = 0,
) -> None:
    for (key, value), (_, excluded) in zip(
        sorted(key_values.items()), sorted(key_excluded.items())
    ):
        if excluded is not None:
            continue
        if isinstance(value, np.ScalarType):
            if not isinstance(value, str):
                tag, key = key.split('/')
                if tag in ['train', 'valid']:
                    context = {'subset': tag}
                else:
                    context = {'tag': tag}
                self.aim_callback.experiment.track(
                    value, key, step=step, context=context
                )