Mava icon indicating copy to clipboard operation
Mava copied to clipboard

Create an update_network function to reduce code duplication

Open sash-a opened this issue 10 months ago • 0 comments

Feature

Because of the fact that we have a separate actor and critic, we need to update both networks separately, this is leading to a lot of code duplication, for example here.

We should make a function: update_network and then call this twice to update the network to reduce the code duplication.

sash-a avatar Aug 29 '23 07:08 sash-a