MCPcopy Create free account
hub / github.com/numpy/numpy / __call__

Method __call__

numpy/lib/function_base.py:2367–2372  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

2365 return self._vectorize_call(func=func, args=vargs)
2366
2367 def __call__(self, *args, **kwargs):
2368 if self.pyfunc is np._NoValue:
2369 self._init_stage_2(*args, **kwargs)
2370 return self
2371
2372 return self._call_as_normal(*args, **kwargs)
2373
2374 def _get_ufunc_and_otypes(self, func, args):
2375 """Return (ufunc, otypes)."""

Callers

nothing calls this directly

Calls 2

_init_stage_2Method · 0.95
_call_as_normalMethod · 0.95

Tested by

no test coverage detected