@Namespace(value="torch::nn") @NoOffset @Properties(inherit=torch.class) public class FoldOptions extends Pointer
Fold
module.
Example:
Fold model(FoldOptions({8, 8}, {3, 3}).dilation(2).padding({2,
1}).stride(2));
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FoldOptions(LongPointer output_size,
LongPointer kernel_size) |
FoldOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
LongPointer |
dilation() |
LongPointer |
kernel_size() |
LongPointer |
output_size() |
LongPointer |
padding() |
LongPointer |
stride() |
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 FoldOptions(Pointer p)
Pointer(Pointer)
.public FoldOptions(@ByVal @Cast(value="torch::ExpandingArray<2>*") LongPointer output_size, @ByVal @Cast(value="torch::ExpandingArray<2>*") LongPointer kernel_size)
@Cast(value="torch::ExpandingArray<2>*") @ByRef @NoException(value=true) public LongPointer output_size()
@Cast(value="torch::ExpandingArray<2>*") @ByRef @NoException(value=true) public LongPointer kernel_size()
@Cast(value="torch::ExpandingArray<2>*") @ByRef @NoException(value=true) public LongPointer dilation()
@Cast(value="torch::ExpandingArray<2>*") @ByRef @NoException(value=true) public LongPointer padding()
@Cast(value="torch::ExpandingArray<2>*") @ByRef @NoException(value=true) public LongPointer stride()
Copyright © 2024. All rights reserved.