MCPcopy Index your code
hub / github.com/dmlc/dgl / shape

Method shape

python/dgl/distributed/dist_tensor.py:251–259  ·  view source on GitHub ↗

Return the shape of the distributed tensor. Returns ------- tuple The shape of the distributed tensor.

(self)

Source from the content-addressed store, hash-verified

249
250 @property
251 def shape(self):
252 """Return the shape of the distributed tensor.
253
254 Returns
255 -------
256 tuple
257 The shape of the distributed tensor.
258 """
259 return self._shape
260
261 @property
262 def dtype(self):

Callers 11

_generateMethod · 0.45
__repr__Method · 0.45
__repr__Method · 0.45
process_requestMethod · 0.45
process_requestMethod · 0.45
process_requestMethod · 0.45
process_requestMethod · 0.45
pushMethod · 0.45
get_data_metaMethod · 0.45
_to_shared_memFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected