@Namespace(value="torch::optim") @NoOffset @Properties(inherit=torch.class) public class AdagradOptions extends OptimizerCloneableAdagradOptions
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AdagradOptions() |
AdagradOptions(double lr) |
AdagradOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
DoublePointer |
eps() |
boolean |
equals(AdagradOptions rhs) |
double |
get_lr() |
DoublePointer |
initial_accumulator_value() |
DoublePointer |
lr_decay() |
DoublePointer |
lr() |
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 AdagradOptions(Pointer p)
Pointer(Pointer)
.public AdagradOptions(double lr)
public AdagradOptions()
@ByRef @NoException(value=true) public DoublePointer lr()
@ByRef @NoException(value=true) public DoublePointer lr_decay()
@ByRef @NoException(value=true) public DoublePointer weight_decay()
@ByRef @NoException(value=true) public DoublePointer initial_accumulator_value()
@ByRef @NoException(value=true) public DoublePointer eps()
public boolean equals(AdagradOptions 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.