@Namespace(value="torch::optim") @NoOffset @Properties(inherit=torch.class) public class LBFGSOptions extends OptimizerCloneableLBFGSOptions
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
LBFGSOptions() |
LBFGSOptions(double lr) |
LBFGSOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(LBFGSOptions rhs) |
double |
get_lr() |
LongPointer |
history_size() |
StringOptional |
line_search_fn() |
DoublePointer |
lr() |
LongOptional |
max_eval() |
LongPointer |
max_iter() |
void |
set_lr(double lr) |
DoublePointer |
tolerance_change() |
DoublePointer |
tolerance_grad() |
getPointer, position
clone, put
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 LBFGSOptions(Pointer p)
Pointer(Pointer)
.public LBFGSOptions(double lr)
public LBFGSOptions()
@ByRef @NoException(value=true) public DoublePointer lr()
@Cast(value="int64_t*") @ByRef @NoException(value=true) public LongPointer max_iter()
@ByRef @NoException(value=true) public LongOptional max_eval()
@ByRef @NoException(value=true) public DoublePointer tolerance_grad()
@ByRef @NoException(value=true) public DoublePointer tolerance_change()
@Cast(value="int64_t*") @ByRef @NoException(value=true) public LongPointer history_size()
@ByRef @NoException(value=true) public StringOptional line_search_fn()
public boolean equals(LBFGSOptions 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.