class_docstr: An :class:`.Output` encapsulates a single :meth:`~flash.core.data.io.output.Output.transform` method which is
  used to convert the model output into the desired output format when predicting.
docstr: Convert the given sample into the desired output format.
  
  Args:
      sample: The output from the :class:`.OutputTransform`.
  
  Returns:
      The converted output.
code: def transform(sample: Any) -> Any:
      """Convert the given sample into the desired output format.
  
      Args:
          sample: The output from the :class:`.OutputTransform`.
  
      Returns:
          The converted output.
  
      """
      return sample
  
file_path: lightning-flash/src/flash/core/data/io/output.py
imports: from abc import abstractmethod
  from typing import Any
  import flash
  from flash.core.data.properties import Properties
label_desc: Use image node_id 2 for calling the Output obj's underlying member method code with example usage: obj.transform(sample) and returns: sample