code: def convert_batch(self, batch):
      new_batch = {
          "continuous": batch[DataKeys.INPUT][1],
          "categorical": batch[DataKeys.INPUT][0],
      }
      if DataKeys.TARGET in batch:
          new_batch["target"] = batch[DataKeys.TARGET].reshape(-1, 1)
          if self.task_type == "regression":
              new_batch["target"] = new_batch["target"].float()
      return new_batch
  
file_path: lightning-flash/src/flash/core/integrations/pytorch_tabular/adapter.py
imports: from typing import Any, Callable, Dict, List, Optional, Union
  import torchmetrics
  from flash.core.adapter import Adapter
  from flash.core.data.io.input import DataKeys
  from flash.core.model import Task
label_desc: Use image node_id 3 for calling the PytorchTabularAdapter obj's underlying member method code with example usage: obj.convert_batch(batch) and returns: new_batch