(func)
| 650 | |
| 651 | |
| 652 | def export(func): |
| 653 | assert func.__name__ not in DiT_models, ( |
| 654 | f"Model with name 'func.__name__' is exported twice." |
| 655 | ) |
| 656 | DiT_models[func.__name__] = func |
| 657 | return func |
| 658 | |
| 659 | |
| 660 | ############################################################################# |
nothing calls this directly
no outgoing calls
no test coverage detected