@Namespace(value="torch::optim") @NoOffset @Properties(inherit=torch.class) public class AdamWParamState extends OptimizerCloneableAdamWParamState
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AdamWParamState()
Default native constructor.
|
AdamWParamState(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AdamWParamState rhs) |
Tensor |
exp_avg_sq() |
Tensor |
exp_avg() |
Tensor |
max_exp_avg_sq() |
LongPointer |
step() |
getPointer, position
clone
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public AdamWParamState()
public AdamWParamState(Pointer p)
Pointer(Pointer)
.@Cast(value="int64_t*") @ByRef @NoException(value=true) public LongPointer step()
@ByRef @NoException(value=true) public Tensor exp_avg()
@ByRef @NoException(value=true) public Tensor exp_avg_sq()
@ByRef @NoException(value=true) public Tensor max_exp_avg_sq()
public boolean equals(AdamWParamState rhs)
Copyright © 2024. All rights reserved.