code: def test_keras_model_compile_hard():
      model = tf.keras.models.Sequential(
          [
              tf.keras.layers.Input(shape=(784,)),
              tf.keras.layers.Dense(10),
          ]
      )
      model.compile(loss="Addons>triplet_hard_loss", optimizer="adam")
  
file_path: addons/tensorflow_addons/losses/tests/triplet_test.py
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.losses import triplet
  from tensorflow_addons.utils import test_utils
label_desc: Use image node_id 11 for calling a global function with example usage: test_keras_model_compile_hard() without return types