MCPcopy Create free account
hub / github.com/apache/singa / wait

Method wait

python/singa/opt.py:822–824  ·  view source on GitHub ↗

Wait for the cuda streams used by the communicator to finish their operations.

(self)

Source from the content-addressed store, hash-verified

820 topK)
821
822 def wait(self):
823 """Wait for the cuda streams used by the communicator to finish their operations."""
824 self.communicator.wait()
825
826 def backward_and_update(self, loss, threshold=2097152):
827 """Performs backward propagation from the loss and parameter update.

Callers 4

backward_and_updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected