rockpool.devices.xylo.syns61300.xylo_mapper

Mapper package for Xylo

  • Create a graph using the as_graph() API

  • Call mapper()

Module Attributes

xylo_drc

The collection of design rules for Xylo

Functions

alias_inputs_must_be_neurons(graph)

alias_output_nodes_must_have_neurons_as_input(graph)

all_neurons_have_same_dt(graph)

assign_ids_to_class(graph, cls, available_ids)

Assign IDs from a list to a class of graph module

assign_ids_to_module(m, available_ids)

Assign IDs from a list to a single graph module

at_least_two_neuron_layers_needed(graph)

check_drc(graph, design_rules)

Perform a design rule check over a graph

first_module_is_a_weight(graph)

input_to_neurons_is_a_weight(graph)

le_16_input_channels(graph)

le_8_output_channels(graph)

mapper(graph[, weight_dtype, ...])

Map a computational graph onto the Xylo v1 architecture

no_consecutive_weights(graph)

output_neurons_cannot_be_recurrent(graph)

output_nodes_have_neurons_as_source(graph)

weight_nodes_have_no_biases(graph)

Exceptions

DRCError

DRCWarning