@Namespace(value="torch::optim") @NoOffset @Properties(inherit=torch.class) public class RMSpropOptions extends OptimizerCloneableRMSpropOptions
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RMSpropOptions() |
RMSpropOptions(double lr) |
RMSpropOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
DoublePointer |
alpha() |
BoolPointer |
centered() |
DoublePointer |
eps() |
boolean |
equals(RMSpropOptions rhs) |
double |
get_lr() |
DoublePointer |
lr() |
DoublePointer |
momentum() |
void |
set_lr(double lr) |
DoublePointer |
weight_decay() |
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 RMSpropOptions(Pointer p)
Pointer(Pointer)
.public RMSpropOptions(double lr)
public RMSpropOptions()
@ByRef @NoException(value=true) public DoublePointer lr()
@ByRef @NoException(value=true) public DoublePointer alpha()
@ByRef @NoException(value=true) public DoublePointer eps()
@ByRef @NoException(value=true) public DoublePointer weight_decay()
@ByRef @NoException(value=true) public DoublePointer momentum()
@Cast(value="bool*") @ByRef @NoException(value=true) public BoolPointer centered()
public boolean equals(RMSpropOptions rhs)
public double get_lr()
get_lr
in class OptimizerOptions
public void set_lr(double lr)
set_lr
in class OptimizerOptions
Copyright © 2024. All rights reserved.