code: def initialize_cost(cost_matrix, graph, cost):
      for i in range(cost_matrix.shape[0]):
          for j in range(cost_matrix.shape[1]):
              set_cost(
                  i * cost_matrix.shape[1] + j,
                  cost_matrix[i, j],
                  cost,
                  graph,
              )
  
imports: import numpy
  import numba
  from collections import namedtuple
  from enum import Enum, IntEnum
label_desc: Use image node_id 14 for calling a global function with example usage: initialize_cost(cost_matrix, graph, cost) without return types