def _get_value_inputs(
        self, runner: "IRunner"
    ) -> Tuple[float, torch.Tensor, torch.Tensor]:
        """Get data from batch in value input case

        Args:
            runner: current runner

        Returns:
            tuple of tensor of inputs and tensor of targets
        """
        return (
            runner.batch_size,
            runner.batch[self.input_key],
            runner.batch[self.target_key],
        )
Get data from batch in value input case

        Args:
            runner: current runner

        Returns:
            tuple of tensor of inputs and tensor of targets
        
catalyst/callbacks/metric.py