Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
CosineEmbeddingLossOptions |
CosineEmbeddingLossOptions.getPointer(long i) |
CosineEmbeddingLossOptions |
CosineEmbeddingLossImpl.options()
The options with which this
Module was constructed. |
CosineEmbeddingLossOptions |
CosineEmbeddingLossOptions.position(long position) |
Modifier and Type | Method and Description |
---|---|
CosineEmbeddingLossImpl |
CosineEmbeddingLossImpl.options(CosineEmbeddingLossOptions setter) |
Constructor and Description |
---|
CosineEmbeddingLossImpl(CosineEmbeddingLossOptions options_) |
Modifier and Type | Method and Description |
---|---|
static Tensor |
torch.cosine_embedding_loss(Tensor input1,
Tensor input2,
Tensor target,
CosineEmbeddingLossOptions options)
See
/** https://pytorch.org/docs/master/nn.functional.html#torch.nn.functional.cosine_embedding_loss
/** about the exact behavior of this functional.
|
Copyright © 2024. All rights reserved.