@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, positionclone, putaddress, 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, zeropublic 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 OptimizerOptionspublic void set_lr(double lr)
set_lr in class OptimizerOptionsCopyright © 2025. All rights reserved.