class_docstr: Converts mesh faces :obj:`[3, num_faces]` to edge indices
  :obj:`[2, num_edges]` (functional name: :obj:`face_to_edge`).
  
  Args:
      remove_faces (bool, optional): If set to :obj:`False`, the face tensor
          will not be removed.
code: def forward(self, data: Data) -> Data:
      if hasattr(data, "face"):
          assert data.face is not None
          face = data.face
          edge_index = torch.cat([face[:2], face[1:], face[::2]], dim=1)
          edge_index = to_undirected(
              edge_index, num_nodes=data.num_nodes
          )
  
          data.edge_index = edge_index
          if self.remove_faces:
              data.face = None
  
      return data
  
file_path: pytorch_geometric/torch_geometric/transforms/face_to_edge.py
imports: import torch
  from torch_geometric.data import Data
  from torch_geometric.data.datapipes import functional_transform
  from torch_geometric.transforms import BaseTransform
  from torch_geometric.utils import to_undirected
label_desc: Use image node_id 2 for calling the FaceToEdge obj's underlying member method code with example usage: obj.forward(data) and returns: data