@NoOffset @Name(value="c10::variant<torch::enumtype::kBilinear,torch::enumtype::kNearest>") @Properties(inherit=torch.class) public class GridSampleMode extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
GridSampleMode() |
GridSampleMode(kBilinear value) |
GridSampleMode(kNearest value) |
GridSampleMode(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
kBilinear |
get0() |
static kBilinear |
get0(GridSampleMode container) |
kNearest |
get1() |
static kNearest |
get1(GridSampleMode container) |
GridSampleMode |
put(GridSampleMode x) |
GridSampleMode |
put(kBilinear value) |
GridSampleMode |
put(kNearest 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 GridSampleMode(Pointer p)
Pointer(Pointer)
.public GridSampleMode(kBilinear value)
public GridSampleMode(kNearest value)
public GridSampleMode()
@Name(value="operator =") @ByRef public GridSampleMode put(@ByRef GridSampleMode x)
@Namespace @Name(value="c10::get<0>") @ByRef public static kBilinear get0(@ByRef GridSampleMode container)
@ValueSetter public GridSampleMode put(@ByRef kBilinear value)
@Namespace @Name(value="c10::get<1>") @ByRef public static kNearest get1(@ByRef GridSampleMode container)
@ValueSetter public GridSampleMode put(@ByRef kNearest value)
Copyright © 2024. All rights reserved.