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