@Name(value="torch::nn::ConvOptions<2>") @NoOffset @Properties(inherit=torch.class) public class Conv2dOptions extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Conv2dOptions(long in_channels,
long out_channels,
LongPointer kernel_size) |
Conv2dOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BoolPointer |
bias() |
LongPointer |
dilation() |
LongPointer |
groups() |
LongPointer |
in_channels() |
LongPointer |
kernel_size() |
LongPointer |
out_channels() |
ConvPaddingMode |
padding_mode() |
Conv2dPadding |
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 Conv2dOptions(Pointer p)
Pointer(Pointer)
.@Cast(value="int64_t*") @ByRef @NoException(value=true) public LongPointer in_channels()
@Cast(value="int64_t*") @ByRef @NoException(value=true) public LongPointer out_channels()
@Cast(value="torch::ExpandingArray<2>*") @ByRef @NoException(value=true) public LongPointer kernel_size()
@Cast(value="torch::ExpandingArray<2>*") @ByRef @NoException(value=true) public LongPointer stride()
@ByRef @NoException(value=true) public Conv2dPadding padding()
@Cast(value="torch::ExpandingArray<2>*") @ByRef @NoException(value=true) public LongPointer dilation()
@Cast(value="int64_t*") @ByRef @NoException(value=true) public LongPointer groups()
@Cast(value="bool*") @ByRef @NoException(value=true) public BoolPointer bias()
@ByRef @NoException(value=true) public ConvPaddingMode padding_mode()
Copyright © 2024. All rights reserved.