Poplar and PopLibs
poplar::MultiVertex Class Reference

MultiVertex base class; Any sub-type of this class needs to define a compute() method taking a single unsigned value and returning a bool. More...

#include <Vertex.hpp>

Static Public Member Functions

static constexpr unsigned numWorkers ()
 Get the total number of workers that will run this vertex.
 

Detailed Description

MultiVertex base class; Any sub-type of this class needs to define a compute() method taking a single unsigned value and returning a bool.

NOTE: To get deterministic results between replicas you must index the data by worker id because each worker has a different seed when applying stochastic rounding.


The documentation for this class was generated from the following file: