

def __init__(self, func, sig, identity=None, targetoptions={
    
}):
    if (not targetoptions.pop('nopython', True)):
        raise TypeError('nopython flag must be True')
    if targetoptions:
        opts = ', '.join([repr(k) for k in targetoptions.keys()])
        fmt = 'The following target options are not supported: {0}'
        raise TypeError(fmt.format(opts))
    self.py_func = func
    self.identity = parse_identity(identity)
    self.signature = sig
    (self.inputsig, self.outputsig) = parse_signature(self.signature)
    assert (len(self.outputsig) == 1), 'only support 1 output'
    self.kernelmap = OrderedDict()

dataset/ETHPy150Open numba/numba/numba/npyufunc/deviceufunc.py DeviceGUFuncVectorize.__init__/original