code: def precompute_K_prime(K, x):
      i_dim = K.shape[0]
      j_dim = K.shape[1]
      result = np.empty_like(K)
      for i in numba.prange(i_dim):
          if x[i] > 0.0:
              x_i_inverse = 1.0 / x[i]
          else:
              x_i_inverse = INFINITY
          for j in range(j_dim):
              result[i, j] = x_i_inverse * K[i, j]
  
      return result
  
imports: import numpy
  import numba
  from collections import namedtuple
  from enum import Enum, IntEnum
label_desc: Use image node_id 21 for calling a global function with example usage: precompute_K_prime(K, x) and returns: result