code: def read_npz(path: str, to_undirected: bool = True) -> Data:
      with np.load(path) as f:
          return parse_npz(f, to_undirected=to_undirected)
  
file_path: pytorch_geometric/torch_geometric/io/npz.py
imports: from typing import Any, Dict
  import numpy
  import scipy.sparse
  import torch
  from torch_geometric.data import Data
  from torch_geometric.utils import remove_self_loops
  from torch_geometric.utils import to_undirected
label_desc: Use image node_id 1 for calling a global function with example usage: read_npz(path, to_undirected) and returns: parse_npz