def _make_ssa_name(name: Optional[Union[str, int]]) -> str:
    """
    Converts a symbol name (string) into an SSA name, by prepending '%'.
    If the name is a parameter value (int), directly printing it without prepending '%'.
    Only used for pretty printing the graph.
    """
    if name is None:
        return "None"
    if type(name) is int:
        return str(name)
    return "%" + name

    Converts a symbol name (string) into an SSA name, by prepending '%'.
    If the name is a parameter value (int), directly printing it without prepending '%'.
    Only used for pretty printing the graph.
    
coremltools/converters/mil/frontend/torch/internal_graph.py