pygrenade_vx.network

Modules

pygrenade_vx.network.routing

Classes

AtomicNeuronOnExecutionInstance

AtomicNeuronOnNetwork

BackgroundSourcePopulation

CADCRecording

ConnectionToHardwareRoutes

Coordinate

ExternalSourcePopulation

InputGenerator

InterExecutionInstanceProjection

InterExecutionInstanceProjectionOnNetwork

MADCRecording

Network

NetworkBuilder

NetworkGraph

NetworkGraphStatistics

NeuronRecording

OnlyRecordingPlasticityRuleGenerator

PadRecording

PlasticityRule

PlasticityRuleOnExecutionInstance

PlasticityRuleOnNetwork

Population

PopulationOnExecutionInstance

PopulationOnNetwork

Projection

ProjectionOnExecutionInstance

ProjectionOnNetwork

RawRecording

RawRecordingData

Receptor

RoutingResult

TimedRecording

Functions

pygrenade_vx.network.build_network_graph(network: _pygrenade_vx_network.Network, routing_result: _pygrenade_vx_network.RoutingResult)_pygrenade_vx_network.NetworkGraph

Build a hardware network representation for a given network.

pygrenade_vx.network.extract_cadc_samples(data: _pygrenade_vx_signal_flow.OutputData, network_graph: _pygrenade_vx_network.NetworkGraph)List[Tuple[numpy.ndarray[numpy.float32], numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int32]]]
pygrenade_vx.network.extract_madc_samples(data: _pygrenade_vx_signal_flow.OutputData, network_graph: _pygrenade_vx_network.NetworkGraph)List[Tuple[numpy.ndarray[numpy.float32], numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int32]]]
pygrenade_vx.network.extract_neuron_spikes(data: _pygrenade_vx_signal_flow.OutputData, network_graph: _pygrenade_vx_network.NetworkGraph)List[Dict[Tuple[int, int, int], numpy.ndarray[numpy.float64]]]
pygrenade_vx.network.extract_plasticity_rule_recording_data(data: _pygrenade_vx_signal_flow.OutputData, network_graph: _pygrenade_vx_network.NetworkGraph, descriptor: _pygrenade_vx_network.PlasticityRuleOnNetwork)Union[grenade::vx::signal_flow::vertex::PlasticityRule::RawRecordingData, _pygrenade_vx_network.PlasticityRule.TimedRecordingData]

Extract to be recorded observable data of a plasticity rule.

pygrenade_vx.network.extract_statistics(network_graph: grenade::vx::network::NetworkGraph)grenade::vx::network::NetworkGraphStatistics

Extract statistics from network graph.

pygrenade_vx.network.requires_routing(current: _pygrenade_vx_network.Network, old_graph: _pygrenade_vx_network.NetworkGraph)bool

Get whether the current network requires routing compared to the old network.

pygrenade_vx.network.run(*args, **kwargs)

Overloaded function.

  1. run(connection: pyhxcomm_vx.ZeroMockConnectionHandle, network_graph: _pygrenade_vx_network.NetworkGraph, config: Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip], input: _pygrenade_vx_signal_flow.InputData, hooks: Dict[_pygrenade_vx_common.ExecutionInstanceID, _pygrenade_vx_signal_flow.ExecutionInstanceHooks]) -> _pygrenade_vx_signal_flow.OutputData

  2. run(connection: pyhxcomm_vx.ZeroMockConnectionHandle, network_graphs: List[_pygrenade_vx_network.NetworkGraph], configs: List[Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip]], inputs: List[_pygrenade_vx_signal_flow.InputData], hooks: Dict[_pygrenade_vx_common.ExecutionInstanceID, _pygrenade_vx_signal_flow.ExecutionInstanceHooks]) -> List[_pygrenade_vx_signal_flow.OutputData]

  3. run(connection: pyhxcomm_vx.ZeroMockConnectionHandle, network_graph: _pygrenade_vx_network.NetworkGraph, config: Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip], input: _pygrenade_vx_signal_flow.InputData) -> _pygrenade_vx_signal_flow.OutputData

  4. run(connection: pyhxcomm_vx.ZeroMockConnectionHandle, network_graphs: List[_pygrenade_vx_network.NetworkGraph], configs: List[Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip]], inputs: List[_pygrenade_vx_signal_flow.InputData]) -> List[_pygrenade_vx_signal_flow.OutputData]

  5. run(connection: pyhxcomm_vx.QuiggeldyConnectionHandle, network_graph: _pygrenade_vx_network.NetworkGraph, config: Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip], input: _pygrenade_vx_signal_flow.InputData, hooks: Dict[_pygrenade_vx_common.ExecutionInstanceID, _pygrenade_vx_signal_flow.ExecutionInstanceHooks]) -> _pygrenade_vx_signal_flow.OutputData

  6. run(connection: pyhxcomm_vx.QuiggeldyConnectionHandle, network_graphs: List[_pygrenade_vx_network.NetworkGraph], configs: List[Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip]], inputs: List[_pygrenade_vx_signal_flow.InputData], hooks: Dict[_pygrenade_vx_common.ExecutionInstanceID, _pygrenade_vx_signal_flow.ExecutionInstanceHooks]) -> List[_pygrenade_vx_signal_flow.OutputData]

  7. run(connection: pyhxcomm_vx.QuiggeldyConnectionHandle, network_graph: _pygrenade_vx_network.NetworkGraph, config: Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip], input: _pygrenade_vx_signal_flow.InputData) -> _pygrenade_vx_signal_flow.OutputData

  8. run(connection: pyhxcomm_vx.QuiggeldyConnectionHandle, network_graphs: List[_pygrenade_vx_network.NetworkGraph], configs: List[Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip]], inputs: List[_pygrenade_vx_signal_flow.InputData]) -> List[_pygrenade_vx_signal_flow.OutputData]

  9. run(connection: pyhxcomm_vx.SimConnectionHandle, network_graph: _pygrenade_vx_network.NetworkGraph, config: Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip], input: _pygrenade_vx_signal_flow.InputData, hooks: Dict[_pygrenade_vx_common.ExecutionInstanceID, _pygrenade_vx_signal_flow.ExecutionInstanceHooks]) -> _pygrenade_vx_signal_flow.OutputData

  10. run(connection: pyhxcomm_vx.SimConnectionHandle, network_graphs: List[_pygrenade_vx_network.NetworkGraph], configs: List[Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip]], inputs: List[_pygrenade_vx_signal_flow.InputData], hooks: Dict[_pygrenade_vx_common.ExecutionInstanceID, _pygrenade_vx_signal_flow.ExecutionInstanceHooks]) -> List[_pygrenade_vx_signal_flow.OutputData]

  11. run(connection: pyhxcomm_vx.SimConnectionHandle, network_graph: _pygrenade_vx_network.NetworkGraph, config: Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip], input: _pygrenade_vx_signal_flow.InputData) -> _pygrenade_vx_signal_flow.OutputData

  12. run(connection: pyhxcomm_vx.SimConnectionHandle, network_graphs: List[_pygrenade_vx_network.NetworkGraph], configs: List[Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip]], inputs: List[_pygrenade_vx_signal_flow.InputData]) -> List[_pygrenade_vx_signal_flow.OutputData]

  13. run(connection: pyhxcomm_vx.ARQConnectionHandle, network_graph: _pygrenade_vx_network.NetworkGraph, config: Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip], input: _pygrenade_vx_signal_flow.InputData, hooks: Dict[_pygrenade_vx_common.ExecutionInstanceID, _pygrenade_vx_signal_flow.ExecutionInstanceHooks]) -> _pygrenade_vx_signal_flow.OutputData

  14. run(connection: pyhxcomm_vx.ARQConnectionHandle, network_graphs: List[_pygrenade_vx_network.NetworkGraph], configs: List[Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip]], inputs: List[_pygrenade_vx_signal_flow.InputData], hooks: Dict[_pygrenade_vx_common.ExecutionInstanceID, _pygrenade_vx_signal_flow.ExecutionInstanceHooks]) -> List[_pygrenade_vx_signal_flow.OutputData]

  15. run(connection: pyhxcomm_vx.ARQConnectionHandle, network_graph: _pygrenade_vx_network.NetworkGraph, config: Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip], input: _pygrenade_vx_signal_flow.InputData) -> _pygrenade_vx_signal_flow.OutputData

  16. run(connection: pyhxcomm_vx.ARQConnectionHandle, network_graphs: List[_pygrenade_vx_network.NetworkGraph], configs: List[Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip]], inputs: List[_pygrenade_vx_signal_flow.InputData]) -> List[_pygrenade_vx_signal_flow.OutputData]

  17. run(connection: _pygrenade_vx_execution.JITGraphExecutorHandle, network_graph: _pygrenade_vx_network.NetworkGraph, config: Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip], input: _pygrenade_vx_signal_flow.InputData, hooks: Dict[_pygrenade_vx_common.ExecutionInstanceID, _pygrenade_vx_signal_flow.ExecutionInstanceHooks]) -> _pygrenade_vx_signal_flow.OutputData

  18. run(connection: _pygrenade_vx_execution.JITGraphExecutorHandle, network_graphs: List[_pygrenade_vx_network.NetworkGraph], configs: List[Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip]], inputs: List[_pygrenade_vx_signal_flow.InputData], hooks: Dict[_pygrenade_vx_common.ExecutionInstanceID, _pygrenade_vx_signal_flow.ExecutionInstanceHooks]) -> List[_pygrenade_vx_signal_flow.OutputData]

  19. run(connection: _pygrenade_vx_execution.JITGraphExecutorHandle, network_graph: _pygrenade_vx_network.NetworkGraph, config: Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip], input: _pygrenade_vx_signal_flow.InputData) -> _pygrenade_vx_signal_flow.OutputData

  20. run(connection: _pygrenade_vx_execution.JITGraphExecutorHandle, network_graphs: List[_pygrenade_vx_network.NetworkGraph], configs: List[Dict[_pygrenade_vx_common.ExecutionInstanceID, pylola_vx_v3.Chip]], inputs: List[_pygrenade_vx_signal_flow.InputData]) -> List[_pygrenade_vx_signal_flow.OutputData]

pygrenade_vx.network.update_network_graph(network_graph: _pygrenade_vx_network.NetworkGraph, network: _pygrenade_vx_network.Network)None

Update an exisiting hardware graph representation. For this to work, no new routing has to have been required.