def get_kernel_data(self):
        """Get the kernel data needed for this optimization routine to work."""
        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)
        }
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 ) }
Get the kernel data needed for this optimization routine to work.