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