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