MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / mpi_enabled

Method mpi_enabled

tensorpack/train/trainers.py:557–562  ·  view source on GitHub ↗

Returns: bool: whether hvd is currently running under MPI

(self)

Source from the content-addressed store, hash-verified

555 SingleCostTrainer.__init__(self)
556
557 def mpi_enabled(self):
558 """
559 Returns:
560 bool: whether hvd is currently running under MPI
561 """
562 return False

Callers 2

_setup_graphMethod · 0.45
mpi_enabledMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected