code: def idx2mask(idx, len):
      """Create mask."""
      mask = np.zeros(len)
      mask[idx] = 1
      return mask
  
imports: from __future__ import absolute_import
  import errno
  import hashlib
  import os
  import pickle
  import sys
  import warnings
  import networkx.algorithms
  import numpy
  import requests
  from tqdm import tqdm
  from ..None import backend
  from .graph_serialize import load_graphs, load_labels, save_graphs
  from .tensor_serialize import load_tensors, save_tensors
label_desc: Use image node_id 14 for calling a global function with example usage: idx2mask(idx, len) and returns: mask