class_docstr: A class that adapts the PyTorch model outputs to exported ONNX model outputs format.
class_docstr_tok: ["A","class","that","adapts","the","PyTorch","model","outputs","to","exported","ONNX","model","outputs","format","."]
docstr: Appends a step to the output format steps.
  
  Args:
      step: The step to append.
code: def append_step(self, step: OutputAdaptStep) -> None:
      """Appends a step to the output format steps.
  
      Args:
          step: The step to append.
      """
      self._steps.append(step)
  
imports: from __future__ import annotations
  import inspect
  from typing import Any, Callable, List, Mapping, Optional, Protocol, runtime_checkable, Sequence, Tuple, Union
  import torch
  import torch.export
  from torch.onnx._internal import _beartype
  from torch.utils import _pytree
label_desc: Use image node_id 2 for calling the OutputAdapter obj's underlying member method code with example usage: obj.append_step(step) without return types