code: def forward(self, x):
      return x.flatten(2, 3).transpose(1, 2).contiguous()
  
file_path: xformers/xformers/components/patch_embedding.py
imports: import math
  from dataclasses import dataclass
  from enum import Enum
  import torch
label_desc: Use image node_id 2 for calling the PatchToSequence obj's underlying member method code with example usage: obj.forward(x) and returns: x