It depends what your original network is. But you most likely only need to modify the .forward() method on the original network and add the appropriate calls to your new module.
If you could share how the original function is defined, that would help.