![]() |
GeNN
4.9.0
GPU enhanced Neuronal Networks (GeNN)
|
Class holding information about GeNN variables. More...
Public Member Functions | |
| def | __init__ (self, variable_name, variable_type, values, group) |
| Init Variable. More... | |
| def | set_extra_global_init_param (self, param_name, param_values) |
| Set values of extra global parameter associated with variable initialisation snippet. More... | |
| def | set_values (self, values) |
| Set Variable's values. More... | |
Public Attributes | |
| name | |
| type | |
| group | |
| view | |
| needs_allocation | |
| init_required | |
| init_val | |
| extra_global_params | |
| values | |
Class holding information about GeNN variables.
| def pygenn.model_preprocessor.Variable.__init__ | ( | self, | |
| variable_name, | |||
| variable_type, | |||
| values, | |||
| group | |||
| ) |
Init Variable.
| variable_name | string name of the variable |
| variable_type | string type of the variable |
| values | iterable, single value or VarInit instance |
| group | pygenn.genn_groups.Group this variable is associated with |
| def pygenn.model_preprocessor.Variable.set_extra_global_init_param | ( | self, | |
| param_name, | |||
| param_values | |||
| ) |
Set values of extra global parameter associated with variable initialisation snippet.
Args param_name string, name of parameter param_values iterable or single value
| def pygenn.model_preprocessor.Variable.set_values | ( | self, | |
| values | |||
| ) |
Set Variable's values.
| values | iterable, single value or VarInit instance |
| pygenn.model_preprocessor.Variable.extra_global_params |
| pygenn.model_preprocessor.Variable.group |
| pygenn.model_preprocessor.Variable.init_required |
| pygenn.model_preprocessor.Variable.init_val |
| pygenn.model_preprocessor.Variable.name |
| pygenn.model_preprocessor.Variable.needs_allocation |
| pygenn.model_preprocessor.Variable.type |
| pygenn.model_preprocessor.Variable.values |
| pygenn.model_preprocessor.Variable.view |