class_docstr: KG embedding regularizers.
docstr: Initializes KG embedding regularizer.
  
  Args:
    reg_weight: regularization weight
docstr_tok: ["Initializes","KG","embedding","regularizer",".","Args",":","reg_weight",":","regularization","weight"]
code: def __init__(self, reg_weight):
      """Initializes KG embedding regularizer.
  
      Args:
        reg_weight: regularization weight
      """
      super(KGRegularizer, self).__init__()
      self.reg_weight = tf.keras.backend.cast_to_floatx(reg_weight)
  
imports: import abc
  import tensorflow
label_desc: Use image node_id 1 to create a new KGRegularizer object from inherited base classes: tf.keras.regularizers, abc with example: obj = KGRegularizer(reg_weight)