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

Method num_parts

python/dgl/partition.py:557–559  ·  view source on GitHub ↗

Get the number of partitions.

(self)

Source from the content-addressed store, hash-verified

555 self._num_parts = num_parts
556
557 def num_parts(self):
558 """Get the number of partitions."""
559 return self._num_parts
560
561 def array_size(self):
562 """Get the total size of the first dimension of the partitioned array."""

Callers 1

Calls

no outgoing calls

Tested by 1