KVStore¶
-
class
mxnet.kvstore.
KVStore
(handle)[source]¶ A key-value store for synchronization of values, over multiple devices.
Init, push and pull¶
|
Initializes a single or a sequence of key-value pairs into the store. |
|
Pulls a single value or a sequence of values from the store. |
|
Pushes a single or a sequence of key-value pairs into the store. |
|
Pulls a single RowSparseNDArray value or a sequence of RowSparseNDArray values from the store with specified row_ids. |
Optimizer¶
Loads the optimizer (updater) state from the file. |
|
|
Saves the optimizer (updater) state to a file. |
Specifies type of low-bit quantization for gradient compression and additional arguments depending on the type of compression being used. |
|
|
Registers an optimizer with the kvstore. |
Attributes¶
Returns the number of worker nodes. |
|
Returns the rank of this worker node. |
|
Returns the type of this kvstore. |