@Namespace(value="torch::nn") @Properties(inherit=torch.class) public class PairwiseDistanceOptions extends Pointer
PairwiseDistance
module.
Example:
PairwiseDistance
model(PairwiseDistanceOptions().p(3).eps(0.5).keepdim(true));
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
PairwiseDistanceOptions()
Default native constructor.
|
PairwiseDistanceOptions(long size)
Native array allocator.
|
PairwiseDistanceOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
DoublePointer |
eps() |
PairwiseDistanceOptions |
getPointer(long i) |
BoolPointer |
keepdim() |
DoublePointer |
p() |
PairwiseDistanceOptions |
position(long position) |
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 PairwiseDistanceOptions()
public PairwiseDistanceOptions(long size)
Pointer.position(long)
.public PairwiseDistanceOptions(Pointer p)
Pointer(Pointer)
.public PairwiseDistanceOptions position(long position)
public PairwiseDistanceOptions getPointer(long i)
getPointer
in class Pointer
@ByRef @NoException(value=true) public DoublePointer p()
@ByRef @NoException(value=true) public DoublePointer eps()
@Cast(value="bool*") @ByRef @NoException(value=true) public BoolPointer keepdim()
Copyright © 2024. All rights reserved.