def _get_key_value_inputs(self, runner: "IRunner") -> Dict[str, torch.Tensor]:
        """Get data from batch in a format suitable for the Sklearn metrics calculation

        Args:
            runner: current runner

        Returns:
            dict of inputs and targets tensors
        """
        kv_inputs = {}
        for key, value in self._keys.items():
            kv_inputs[key] = runner.batch[value].cpu().detach()
        return kv_inputs
Get data from batch in a format suitable for the Sklearn metrics calculation

        Args:
            runner: current runner

        Returns:
            dict of inputs and targets tensors
        
catalyst/callbacks/metrics/scikit_learn.py