MCPcopy Index your code
hub / github.com/numpy/numpy / __call__

Method __call__

numpy/lib/_function_base_impl.py:2524–2529  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

2522 return self._vectorize_call(func=func, args=vargs)
2523
2524 def __call__(self, *args, **kwargs):
2525 if self.pyfunc is np._NoValue:
2526 self._init_stage_2(*args, **kwargs)
2527 return self
2528
2529 return self._call_as_normal(*args, **kwargs)
2530
2531 def _get_ufunc_and_otypes(self, func, args):
2532 """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