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: Instantiate the output from the given :class:`~flash.core.model.Task`.
code: def from_task(cls, task: "flash.Task", **kwargs) -> "Output":
      """Instantiate the output from the given :class:`~flash.core.model.Task`."""
      return cls()
  
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 1 for calling the Output obj's underlying member method code with example usage: obj.from_task(cls, task) and returns: cls