Shortcuts

mmengine.dist.get_local_size

mmengine.dist.get_local_size()[源代码]

Return the number of the current node.

返回

Return the number of processes in the current node if in distributed environment, otherwise 1.

返回类型

int

Read the Docs v: v0.7.0
Versions
latest
stable
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.0
v0.2.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.