The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

25 lines
513 B

from . import gmp_converter
from pycarl._config import CARL_WITH_CLN as has_cln
def convert_to_gmp(data):
"""
Convert data type to gmp.
:param data: data structure.
:return: gmp data structure.
"""
return gmp_converter.convert(data)
if has_cln:
from . import cln_converter
def convert_to_cln(data):
"""
Convert data type to cln.
:param data: data structure.
:return: cln data structure.
"""
return cln_converter.convert(data)