(self, slots)
Sets the slots of the optimizers and this class (replicated).
Sets the slots of the optimizers and this class (replicated).
Sets the slots of the optimizers and this class ( replicated ) .
def slots(self, slots):
    """Sets the slots of the optimizers and this class (replicated)."""
    self._optimizer.slots = slots
    self._slots = tl.on_cpu(tl.for_n_devices(slots, self._n_devices))
def slots ( self , slots ) : self . _optimizer . slots = slots self . _slots = tl . on_cpu ( tl . for_n_devices ( slots , self . _n_devices ) )