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

Function shape

numpy/ma/core.py:7773–7775  ·  view source on GitHub ↗

maskedarray version of the numpy function.

(obj)

Source from the content-addressed store, hash-verified

7771
7772
7773def shape(obj):
7774 "maskedarray version of the numpy function."
7775 return np.shape(getdata(obj))
7776
7777
7778shape.__doc__ = np.shape.__doc__

Callers 7

test_testAverage3Method · 0.90
test_testBasic1dMethod · 0.90
test_testBasic2dMethod · 0.90
test_testOddFeaturesMethod · 0.90
test_testAverage2Method · 0.90
test_basic2dMethod · 0.90
test_oddfeatures_1Method · 0.90

Calls 2

getdataFunction · 0.85
shapeMethod · 0.45

Tested by 7

test_testAverage3Method · 0.72
test_testBasic1dMethod · 0.72
test_testBasic2dMethod · 0.72
test_testOddFeaturesMethod · 0.72
test_testAverage2Method · 0.72
test_basic2dMethod · 0.72
test_oddfeatures_1Method · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…