[source]

Serial#

The Serial backend executes tasks sequentially inside of a single PHP process. The advantage of the Serial backend is that it has zero overhead, thus it may be faster than a parallel backend in cases where the computions are minimal such as with small datasets.

Note: The Serial backend is the default for most objects that capable of parallel processing.

Parameters#

This backend does not have any additional parameters.

Additional Methods#

This backend does not have any additional methods.

Example#

use Rubix\ML\Backends\Serial;

$backend = new Serial();