4 Commits

Author SHA1 Message Date
Yining Li
ff0dfb74d7 add RandomApply (#1863) 2022-07-19 19:18:16 +08:00
Yining Li
e2ca0733c6 Refactor base transform (#1830)
* rename cacheable_method to cache_randomness

* refactor transform wrappers and update docs

* fix all_nonexist_keys

* fix lint

* rename transform wrappers
2022-07-19 19:18:16 +08:00
Yining Li
6534efd6ca [Fix] Add @cacheable_method in transform wrapper RandomChoice (#1807)
* add @cacheable_methd in RandomChoice

* RandomChoice add __iter__() and fix unittest
2022-07-19 19:18:16 +08:00
liukuikun
9e4b2ff58e [Feature] Add Part1 of data transform (#1736)
* [Feature] Add Part1 of data transform

* api.rst transform->transforms

* fix typo

* fix typo

* rename test_processing into test_transforms_processing for avoiding same name

* fix mypy

* fix comment

* fix comment
2022-07-19 19:18:15 +08:00