Module view.WeightDialog
Dialog (non-modal) that allows the user to view the connection weights of a neural network.
Functions
WeightDialog.new (parent) | Constructor. |
WeightDialog:close () | Closes the dialog. |
WeightDialog:project_selected (event, project) | Updates the interface if the project changed. |
WeightDialog:run (network) | Runs the dialog. |
(private) WeightDialog:build_gui (parent) | Builds the interface. |
(private) WeightDialog:prepare (network) | Prepares the interface for a new network. |
Functions
- WeightDialog.new (parent)
-
Constructor.
Parameters
- parent: Parent window
Return value:
New instance of WeightDialog - WeightDialog:close ()
- Closes the dialog.
- WeightDialog:project_selected (event, project)
-
Updates the interface if the project changed.
Parameters
- event: Event that triggered this handler
- project: The current project
- WeightDialog:run (network)
-
Runs the dialog.
Parameters
- network: Network to show the weights
- (private) WeightDialog:build_gui (parent)
-
Builds the interface.
Parameters
- parent: Parent window
- (private) WeightDialog:prepare (network)
-
Prepares the interface for a new network.
Parameters
- network: