code: def __init__(self):
      super().__init__(HKLLoss)
      self.template = distance_config_template
  
imports: from pathlib import Path
  import numpy
  import tensorflow
  from tensorflow.python.keras.utils import tf_utils
  from tensorflow.python.ops import math_ops
  import hls4ml
  from hls4ml.converters.keras_to_hls import parse_default_keras_layer
  from hls4ml.model.attributes import ConfigurableAttribute, TypeAttribute
  from hls4ml.model.types import FixedPrecisionType, RoundingMode, SaturationMode
label_desc: Use image node_id 1 to create a new HKLLossConfigTemplate object from inherited base classes: hls4ml.backends.template with example: obj = HKLLossConfigTemplate()