SIGN IN SIGN UP

[API compatibility] Align torch.nn.Module (#78836)

* Add paddle.compat.nn.Module.__init__

* Implemented on the layer

* Implemented on the layer

* Implemented on the layer

* Align nn.module

* Supplement missing tests

* Align some hooks

* Add a test case

* Add a test case

* Fix some cases in layer

* Fix one bug in test

* Add tests for coverage

* Fix some bugs
X
Xiaochun Yang committed
fce480854934ec07ebf33e4fe460fd6944b9391c
Parent: a5016ee
Committed by GitHub <noreply@github.com> on 5/14/2026, 10:32:28 AM