Skip to content

[Feature] Reset parameters of multiagent networks #1967

@matteobettini

Description

@matteobettini

Hello!

So I usually used a function like this to reset parameters of the multiagent networks

def reset_child_params(module):
    for layer in module.children():
        if hasattr(layer, "reset_parameters"):
            layer.reset_parameters()
        reset_child_params(layer)

After #1921 this seems to have no effect.

Is there a suggested way to reset the parameters?

Thanks!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions