code: def get_kernel_data(self):
          
          return {
              'nmsimplex_scratch': LocalMemory(
                  'mot_float_type', self._nmr_parameters * 2 + (self._nmr_parameters + 1) ** 2 + 1),
              'initial_simplex_scale': LocalMemory('mot_float_type', self._nmr_parameters)
          }
docs: Get the kernel data needed for this optimization routine to work.