def METHOD_NAME(self, input_id: int) -> str:
    """Return the name of the `input_id`th input."""
    self._valid()
    cstring = c_char_p()
    check(lib.tract_inference_model_input_name(self.ptr, input_id, byref(cstring)))
    result = str(cstring.value, "utf-8")
    lib.tract_free_cstring(cstring)
    return result