MCPcopy
hub / github.com/dmlc/dgl / shape

Method shape

python/dgl/_ffi/ndarray.py:207–212  ·  view source on GitHub ↗

Shape of this array

(self)

Source from the content-addressed store, hash-verified

205
206 @property
207 def shape(self):
208 """Shape of this array"""
209 return tuple(
210 self.handle.contents.shape[i]
211 for i in range(self.handle.contents.ndim)
212 )
213
214 @property
215 def dtype(self):

Callers 15

gather_mmFunction · 0.45
reshape_lhs_rhsFunction · 0.45
segment_reduceFunction · 0.45
reshape_lhs_rhsFunction · 0.45
gspmmFunction · 0.45
_dispatchMethod · 0.45
check_eq_shapeFunction · 0.45
infer_num_nodesFunction · 0.45
prepare_tensorFunction · 0.45
_farthest_point_samplerFunction · 0.45
__call__Method · 0.45
knn_graphFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected