pygrenade_vx.network
Modules
Classes
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.
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
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]
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
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]
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
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]
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
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]
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
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]
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
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]
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
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]
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
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]
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
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]
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
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.