pytorch / torcharrow

High performance model preprocessing library on PyTorch
https://pytorch.org/torcharrow/beta/index.html
BSD 3-Clause "New" or "Revised" License
645 stars 79 forks source link

Remove functional as a runtime module #337

Closed wenleix closed 2 years ago

wenleix commented 2 years ago

Summary: The motivation to use runtime module is to override __set_attr__, however, this doesn't work well with doc generation.

Since Python 3.7, __set_attr__ is natively overridable: https://peps.python.org/pep-0562/ So we can get rid of using runtime module.

Differential Revision: D36530070

facebook-github-bot commented 2 years ago

This pull request was exported from Phabricator. Differential Revision: D36530070

facebook-github-bot commented 2 years ago

This pull request was exported from Phabricator. Differential Revision: D36530070

facebook-github-bot commented 2 years ago

This pull request was exported from Phabricator. Differential Revision: D36530070