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