def _prep_kernel_hyperparams_for_nn_kernels(kernel_type, dom, kernel_params_for_dom):
  """ Prepares the kernel hyper-parameters. """
  ret = vars(kernel_params_for_dom)
  ret['nn_type'] = dom.nn_type
  ret['kernel_type'] = kernel_type
  return ret