spinn_front_end_common.interface.splitter_selectors package

Module contents

class spinn_front_end_common.interface.splitter_selectors.SplitterSelector[source]

Bases: object

Splitter object selector that allocates nothing but legacy splitter objects where required

NOT_KNOWN_APP_VERTEX_ERROR_MESSAGE = 'The SplitterSelector has not seen the {} vertex before. Therefore there is no known splitter to allocate to this app vertex and so will use the SplitterSliceLegacy Splitter.'

basic selector which puts the legacy splitter object on everything without a splitter object

Parameters:app_graph (ApplicationGraph) – app graph
Return type:None

main point for selecting a splitter object for a given app vertex.

Will assume the SplitterSliceLegacy if no heuristic is known for the app vertex.

Parameters:app_vertex (ApplicationVertex) – app vertex to give a splitter object to
Return type:None