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