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

Function _atleast_nd

numpy/_core/shape_base.py:628–631  ·  view source on GitHub ↗
(a, ndim)

Source from the content-addressed store, hash-verified

626
627
628def _atleast_nd(a, ndim):
629 # Ensures `a` has at least `ndim` dimensions by prepending
630 # ones to `a.shape` as necessary
631 return array(a, ndmin=ndim, copy=None, subok=True)
632
633
634def _accumulate(values):

Callers 2

_block_info_recursionFunction · 0.85
_blockFunction · 0.85

Calls 1

arrayFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…