code: def load_off(filename):
      """
      Reads an .off file into a Graph object. Node attributes are the 3d
      coordinates of the points, all faces are converted to edges.
      :param filename: path to the .off file.
      :return: a Graph
      """
      lines = open(filename, "r").read().lstrip("OF\n").splitlines()
      x, faces = _parse_off(lines)
      n = x.shape[0]
      row, col = np.vstack(
          (faces[:, :2], faces[:, 1:], faces[:, ::2])
      ).T
      adj = sp.csr_matrix(
          (np.ones_like(row), (row, col)), shape=(n, n)
      ).tolil()
      adj[col, row] = adj[row, col]
      adj = adj.T.tocsr()
      adj.data = np.clip(adj.data, 0, 1)
  
      return Graph(x=x, a=adj)
  
imports: import ast
  import sys
  import joblib
  import networkx
  import numpy
  import pandas
  import scipy.sparse
  from spektral.data.graph import Graph
label_desc: Use image node_id 12 for calling a global function with example usage: load_off(filename) and returns: Graph