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

Function _ones_like_dispatcher

numpy/core/numeric.py:199–200  ·  view source on GitHub ↗
(a, dtype=None, order=None, subok=None, shape=None)

Source from the content-addressed store, hash-verified

197
198
199def _ones_like_dispatcher(a, dtype=None, order=None, subok=None, shape=None):
200 return (a,)
201
202
203@array_function_dispatch(_ones_like_dispatcher)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected