code: def __init__(self) -> None:
      if hasattr(self, "serve_load_data"):
          raise TypeError("`serve_load_data` shouldn't be implemented.")
  
      super().__init__(RunningStage.SERVING)
  
imports: import functools
  import os
  from enum import Enum
  from typing import Any, Dict, Iterable, List, Sequence, Tuple, Union, cast
  from pytorch_lightning.utilities.enums import LightningEnum
  from torch.utils.data import Dataset
  from flash.core.data.properties import Properties
  from flash.core.data.utils import _STAGES_PREFIX
  from flash.core.utilities.stages import RunningStage
label_desc: Use image node_id 1 to create a new ServeInput object from inherited base classes: Input with example: obj = ServeInput()