SIGN IN SIGN UP

[API Compatibility] enhance `paddle.enable_compat` -part (#79391)

* new compat mechnism

* fix

* re-use func, simplify the logic

* fix slogdet been skipped convert

* further simplify the logic

* add metaclass for class Linear; remove the __instancecheck__ and __subclasscheck__ in api_dispatch.py

* implement general metaclass

* use a clearer naming, add test coverage

* root include paddle.compat
W
Wenfei (Charles) Qi committed
718431cf276c9bd32c089ee2daf6cc7d54af2aa8
Parent: ad1d2d4
Committed by GitHub <noreply@github.com> on 7/22/2026, 5:08:19 AM