@Namespace(value="torch::optim") @NoOffset @Properties(inherit=torch.class) public class AdagradParamState extends OptimizerCloneableAdagradParamState
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AdagradParamState()
Default native constructor.
|
AdagradParamState(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AdagradParamState rhs) |
LongPointer |
step() |
Tensor |
sum() |
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 AdagradParamState()
public AdagradParamState(Pointer p)
Pointer(Pointer)
.@ByRef @NoException(value=true) public Tensor sum()
@Cast(value="int64_t*") @ByRef @NoException(value=true) public LongPointer step()
public boolean equals(AdagradParamState rhs)
Copyright © 2024. All rights reserved.