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