@Namespace(value="torch::nn") @NoOffset @Properties(inherit=torch.class) public class MultiLabelMarginLossOptions extends Pointer
MultiLabelMarginLoss
module.
Example:
MultiLabelMarginLoss model(MultiLabelMarginLossOptions(torch::kNone));
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MultiLabelMarginLossOptions() |
MultiLabelMarginLossOptions(kMean reduction) |
MultiLabelMarginLossOptions(kNone reduction) |
MultiLabelMarginLossOptions(kSum reduction) |
MultiLabelMarginLossOptions(long size)
Native array allocator.
|
MultiLabelMarginLossOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
MultiLabelMarginLossOptions |
getPointer(long i) |
MultiLabelMarginLossOptions |
position(long position) |
LossReduction |
reduction() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public MultiLabelMarginLossOptions(Pointer p)
Pointer(Pointer)
.public MultiLabelMarginLossOptions(long size)
Pointer.position(long)
.public MultiLabelMarginLossOptions()
public MultiLabelMarginLossOptions position(long position)
public MultiLabelMarginLossOptions getPointer(long i)
getPointer
in class Pointer
@ByRef @NoException(value=true) public LossReduction reduction()
Copyright © 2024. All rights reserved.