(model_path: str)
| 9 | |
| 10 | |
| 11 | def get_config_json(model_path: str): |
| 12 | with open(os.path.join(model_path, "config.json"), "r") as file: |
| 13 | json_obj = json.load(file) |
| 14 | return json_obj |
| 15 | |
| 16 | |
| 17 | def get_hidden_size(model_path: str) -> Optional[int]: |
no test coverage detected