class_docstr: Calculates the standard triplet loss between anchor, positive and negative
  examples in a triplet based on chebyshev distance.
class_docstr_tok: ["Calculates","the","standard","triplet","loss","between","anchor",",","positive","and","negative","examples","in","a","triplet","based","on","chebyshev","distance","."]
code: def __call__(self, y_true, y_pred):
      anchor, positive, negative = tf.unstack(y_pred)
      return K.mean(
          K.maximum(
              chebyshev_distance(anchor, positive)
              - chebyshev_distance(anchor, negative)
              + self.margin,
              0,
          )
      )
  
imports: import functools
  from tensorflow.keras import backend
  import tensorflow
  from tensorflow import keras
  import numpy
  from .distances import euclidean_distance, manhattan_distance, chebyshev_distance, cosine_distance
label_desc: Use image node_id 2 for calling the ChebyshevTripletLoss obj's underlying member method code with example usage: obj.__call__(y_true, y_pred) and returns: K