(class_name)
| 132 | return cls(**config.get("params", dict())) |
| 133 | |
| 134 | def class_from_string(class_name): |
| 135 | module, cls = class_name.rsplit(".", 1) |
| 136 | cls = getattr(importlib.import_module(module, package=None), cls) |
| 137 | return cls |
| 138 | |
| 139 | def get_all_file(dir, end_with='.h5'): |
| 140 | if isinstance(end_with, str): |
nothing calls this directly
no outgoing calls
no test coverage detected