code: def initalize_heap_from_graph_indices_and_distances(
      heap, graph_indices, graph_distances
  ):
      for i in range(graph_indices.shape[0]):
          for idx in range(graph_indices.shape[1]):
              j = graph_indices[i, idx]
              if j >= 0:
                  d = graph_distances[i, idx]
                  checked_flagged_heap_push(
                      heap[1][i], heap[0][i], heap[2][i], d, j, 1
                  )
  
      return heap
  
imports: import time
  import numba
  from numba.core import types
  import numba.experimental.structref
  import numpy
label_desc: Use image node_id 21 for calling a global function with example usage: initalize_heap_from_graph_indices_and_distances(heap, graph_indices, graph_distances) and returns: heap