2022-09-03 11:22:29 +02:00
|
|
|
#TODO: License or such
|
|
|
|
from .base_projection_layer import BaseProjectionLayer
|
2024-01-16 15:25:34 +01:00
|
|
|
from .identity_projection_layer import IdentityProjectionLayer
|
2022-09-03 11:22:29 +02:00
|
|
|
from .frob_projection_layer import FrobeniusProjectionLayer
|
|
|
|
from .w2_projection_layer import WassersteinProjectionLayer
|
2024-01-16 15:25:34 +01:00
|
|
|
|
|
|
|
try:
|
|
|
|
import cpp_projection
|
|
|
|
except ModuleNotFoundError:
|
|
|
|
print('[MSB] ITPAL is not installed; KL projections not avaible.')
|
|
|
|
from .base_projection_layer import ExceptionProjectionLayer as KLProjectionLayer
|
|
|
|
else:
|
|
|
|
from .kl_projection_layer import KLProjectionLayer
|