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