code: def register_compatibility(name):
      def insert_in_registry(class_handle):
          BACK_COMPAT_MODELS[name] = class_handle
          class_handle.name = name
          return class_handle
  
      return insert_in_registry
  
imports: import numpy
  import tensorflow
  from ampligraph.latent_features.loss_functions import get
  from ampligraph.latent_features.models import ScoringBasedEmbeddingModel
  from ampligraph.latent_features.optimizers import get
  from ampligraph.latent_features.regularizers import get
label_desc: Use image node_id 1 for calling a global function with example usage: register_compatibility(name) and returns: insert_in_registry, class_handle