@Namespace(value="torch::optim") @NoOffset @Properties(inherit=torch.class) public class AdamParamState extends OptimizerCloneableAdamParamState
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
AdamParamState()
Default native constructor.
|
AdamParamState(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(AdamParamState rhs) |
Tensor |
exp_avg_sq() |
Tensor |
exp_avg() |
Tensor |
max_exp_avg_sq() |
LongPointer |
step() |
getPointer, positioncloneaddress, 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, zeropublic AdamParamState()
public AdamParamState(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(AdamParamState rhs)
Copyright © 2024. All rights reserved.