replace_module_in_network: Internal function for replacing a module in the network
Description
Internal function for replacing a module in the network
Usage
replace_module_in_network(module_index, module, network)
Arguments
module_index
The index of the module to replace.
module
The new module to replace with.
Value
The modified network.