def METHOD_NAME(self, model: Model, path: Union[str, Path]) -> None:
    """
    Save `model` as a NNEF tar archive in `path`.
    tract tries to stick to strict NNEF even if extensions has been enabled.
    """
    self._valid()
    model._valid()
    if not isinstance(model, Model):
        raise TractError("Expected a Model, called with " + model);
    path = str(path).encode("utf-8")
    check(lib.tract_nnef_write_model_to_tar(self.ptr, path, model.ptr))