code: def bind_literal_index(
      data,
      name,
      op,
      num_val,
      nom_val,
  ):
      """
      Find instances that are covered by the literal
  
      Parameters
      ----------
      data : const double[::1, :]
          Input instances
      name : int64_t
          Feature name for literal
      op : uint8_t
          Operator for literal
      num_val : double
          Numerical feature value for literal
      nom_val : int64_t
          Nominal feature value for literal
  
      Returns
      -------
      uint64_t
          Instances which are covered by the literal
      """
      result = np.empty(len(data), dtype=np.bool_)
      if op == LE:
          for i in range(len(data)):
              result[i] = data[i, name] <= num_val
      elif op == GE:
          for i in range(len(data)):
              result[i] = data[i, name] >= num_val
      elif op == EQ:
          for i in range(len(data)):
              result[i] = int(data[i, name]) == nom_val
      else:
          raise RuntimeError("Unknown operator")
      return result
  
imports: import numpy
  import numba
label_desc: Use image node_id 5 for calling a global function with example usage: bind_literal_index(data, name, op, num_val, nom_val) and returns: result