@Name(value="torch::nn::ConstantPadOptions<2>") @NoOffset @Properties(inherit=torch.class) public class ConstantPad2dOptions extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ConstantPad2dOptions(LongPointer padding,
double value) |
ConstantPad2dOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
LongPointer |
padding() |
DoublePointer |
value() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ConstantPad2dOptions(Pointer p)
Pointer(Pointer)
.public ConstantPad2dOptions(@ByVal @Cast(value="torch::ExpandingArray<2*2>*") LongPointer padding, double value)
@Cast(value="torch::ExpandingArray<2*2>*") @ByRef @NoException(value=true) public LongPointer padding()
@ByRef @NoException(value=true) public DoublePointer value()
Copyright © 2024. All rights reserved.