code: def __call__(self, df):
      x = self.model.encode(
          df.values,
          show_progress_bar=True,
          convert_to_tensor=True,
          device=self.device,
      )
      return x.cpu()
  
file_path: pytorch_geometric/examples/hetero/load_csv.py
imports: import os.path
  import pandas
  import torch
  from sentence_transformers import SentenceTransformer
  from torch_geometric.data import HeteroData, download_url, extract_zip
  from torch_geometric.transforms import RandomLinkSplit, ToUndirected
label_desc: Use image node_id 2 for calling the SequenceEncoder obj's underlying member method code with example usage: obj.__call__(df) and returns: x