@Name(value="torch::optim::OptimizerCloneableParamState<torch::optim::AdamWParamState>") @Properties(inherit=torch.class) public class OptimizerCloneableAdamWParamState extends OptimizerParamState
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
OptimizerCloneableAdamWParamState()
Default native constructor.
|
OptimizerCloneableAdamWParamState(long size)
Native array allocator.
|
OptimizerCloneableAdamWParamState(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
OptimizerCloneableAdamWParamState |
getPointer(long i) |
OptimizerCloneableAdamWParamState |
position(long 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 OptimizerCloneableAdamWParamState()
public OptimizerCloneableAdamWParamState(long size)
Pointer.position(long)
.public OptimizerCloneableAdamWParamState(Pointer p)
Pointer(Pointer)
.public OptimizerCloneableAdamWParamState position(long position)
public OptimizerCloneableAdamWParamState getPointer(long i)
getPointer
in class Pointer
Copyright © 2024. All rights reserved.