class_docstr: Test loss function for testing BoltOn model.
class_docstr_tok: ["Test","loss","function","for","testing","BoltOn","model","."]
docstr: Lipchitz constant, L.
  
  Args:
    class_weight: class weights used
  
  Returns:
    constant L
docstr_tok: ["Lipchitz","constant",",","L.","Args",":","class_weight",":","class","weights","used","Returns",":","constant","L"]
code: def lipchitz_constant(
      self, class_weight
  ):  # pylint: disable=unused-argument
      """Lipchitz constant, L.
  
      Args:
        class_weight: class weights used
  
      Returns:
        constant L
      """
      return _ops.convert_to_tensor_v2(1, dtype=tf.float32)
  
imports: import unittest
  from absl.testing import parameterized
  import tensorflow.compat.v1
  from tensorflow.compat.v1.python import ops
  from tensorflow.compat.v1.python.framework import test_util
  from tensorflow.compat.v1.python.keras import keras_parameterized
  from tensorflow.compat.v1.python.keras import losses
  from tensorflow.compat.v1.python.keras.initializers import constant
  from tensorflow.compat.v1.python.keras.models import Model
  from tensorflow.compat.v1.python.keras.optimizer_v2.optimizer_v2 import OptimizerV2
  from tensorflow.compat.v1.python.keras.regularizers import L1L2
  from tensorflow.compat.v1.python.platform import test
  from tensorflow_privacy.privacy.bolt_on import optimizers
  from tensorflow_privacy.privacy.bolt_on.losses import StrongConvexMixin
label_desc: Use image node_id 5 for calling the TestLoss obj's underlying member method code with example usage: obj.lipchitz_constant(class_weight) and returns: _ops