Package | Description |
---|---|
org.bytedeco.pytorch |
Modifier and Type | Class and Description |
---|---|
class |
TripletMarginWithDistanceLossImpl
Creates a criterion that measures the triplet loss given input
tensors :math:
a , :math:p , and :math:n (representing anchor,
positive, and negative examples, respectively); and a nonnegative,
real-valued function
("distance function") used to compute the relationships between the anchor
and positive example ("positive distance") and the anchor and negative
example ("negative distance"). |
Modifier and Type | Method and Description |
---|---|
static Module |
TripletMarginWithDistanceLossImplCloneable.asModule(TripletMarginWithDistanceLossImplCloneable pointer) |
Copyright © 2024. All rights reserved.