Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@cached_property
def _jit_func(self):
vectorize = numba.jit(self.signature, nopython=True)
return vectorize(self.func)
@cached_property
def gufunc(self):
gufunc_sig = gufunc_string_signature(self.signature[0])
vectorize = numba.guvectorize(self.signature, gufunc_sig, nopython=True)
return vectorize(self.func)
@cached_property
def transformed_func(self):
return rewrite_ndreduce(self.func)