def METHOD_NAME(cls, script_module, module, converter=None, **kwargs):
    """
    Convert module to our graph ir, i.e., build a :class:`GraphModelSpace` type.
    Parameters
    ----------
    script_module : torch.jit.RecursiveScriptModule
        the script module obtained with torch.jit.script
    module : nn.Module
        the targeted module instance
    converter : `TorchConverter`
        default `GraphConverter` is used
    kwargs:
        will be passed to `converter.convert_module()`
    Returns
    -------
    GraphModelSpace
        the constructed IR model
    """
    model = cls(_internal=True)
    module_name = '_model'
    if converter is None:
        converter = GraphConverter()
    converter.convert_module(script_module, module, module_name, model, **kwargs)
    return model