(*args, **kwargs)
| 13 | |
| 14 | @functools.wraps(func) |
| 15 | def wrapped(*args, **kwargs): |
| 16 | if LiteGlobal.get_device_count(LiteDeviceType.LITE_CUDA): |
| 17 | return func(*args, **kwargs) |
| 18 | |
| 19 | return wrapped |
| 20 |
nothing calls this directly
no test coverage detected