keras-team / keras

Deep Learning for humans
http://keras.io/
Apache License 2.0
61.11k stars 19.36k forks source link

Improved docs to bring in clarity. #19710

Closed abhaskumarsinha closed 3 weeks ago

abhaskumarsinha commented 3 weeks ago

The PR consists of a tiny addition in docs to let the user know that TorchModuleWrapper, as the name sounds is not a Wrapper to Wrap any arbitrary code into Keras with any backend, but rather a different feature enabling integration of PyTorch custom layers to Keras when running PyTorch backends.

I'll try to write basic wrappers for actual code conversion if that is possible and try checking the extent by which complex models can be easily integrated into Keras, being backend invariant.

Thank You.

codecov-commenter commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.52%. Comparing base (fe85879) to head (b947a6f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #19710 +/- ## ======================================= Coverage 78.52% 78.52% ======================================= Files 498 498 Lines 45769 45769 Branches 8456 8456 ======================================= Hits 35942 35942 Misses 8092 8092 Partials 1735 1735 ``` | [Flag](https://app.codecov.io/gh/keras-team/keras/pull/19710/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keras-team) | Coverage Δ | | |---|---|---| | [keras](https://app.codecov.io/gh/keras-team/keras/pull/19710/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keras-team) | `78.37% <ø> (ø)` | | | [keras-jax](https://app.codecov.io/gh/keras-team/keras/pull/19710/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keras-team) | `61.94% <ø> (ø)` | | | [keras-numpy](https://app.codecov.io/gh/keras-team/keras/pull/19710/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keras-team) | `56.29% <ø> (-0.01%)` | :arrow_down: | | [keras-tensorflow](https://app.codecov.io/gh/keras-team/keras/pull/19710/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keras-team) | `63.42% <ø> (ø)` | | | [keras-torch](https://app.codecov.io/gh/keras-team/keras/pull/19710/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keras-team) | `62.00% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keras-team#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.