Модуль: tf.contrib.losses.metric_learning
Операции для построения нейронных сетей потерь.
См. Потери Contrib.
Функции
cluster_loss(...): Вычисляет потерю кластеризации.
contrastive_loss(...): Вычисляет потерю контрастирования.
lifted_struct_loss(...): Вычисляет потерю поднятой структурированной.
npairs_loss(...): Вычисляет потерю npairs.
npairs_loss_multilabel(...): Вычисляет потерю npairs с данными многометок.
triplet_semihard_loss(...): Вычисляет потерю тройки с полужестким отрицательным поиском.
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/losses/metric_learning