@Name(value="caffe::SGDSolver<float>") @NoOffset @Properties(inherit=caffe.class) public class FloatSGDSolver extends FloatSolver
FloatSolver.CallbackPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
FloatSGDSolver(BytePointer param_file) |
FloatSGDSolver(Pointer p)
Pointer cast constructor.
|
FloatSGDSolver(SolverParameter param) |
FloatSGDSolver(String param_file) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ApplyUpdate() |
protected void |
ClipGradients() |
protected void |
ComputeUpdateValue(int param_id,
float rate) |
FloatBlobSharedVector |
history() |
protected void |
Normalize(int param_id) |
protected void |
Regularize(int param_id) |
protected void |
RestoreSolverStateFromBinaryProto(BytePointer state_file) |
protected void |
RestoreSolverStateFromHDF5(BytePointer state_file) |
protected void |
SnapshotSolverState(BytePointer model_filename) |
protected void |
SnapshotSolverStateToBinaryProto(BytePointer model_filename) |
protected void |
SnapshotSolverStateToHDF5(BytePointer model_filename) |
BytePointer |
type()
\brief Returns the solver type.
|
add_callback, callbacks, CheckSnapshotWritePermissions, GetRequestedAction, Init, InitTestNets, InitTrainNet, iter, net, param, Restore, Restore, SetActionFunction, Snapshot, Solve, Solve, Solve, Step, test_netsaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic FloatSGDSolver(Pointer p)
Pointer(Pointer).public FloatSGDSolver(@Const @ByRef SolverParameter param)
public FloatSGDSolver(@Const @StdString @ByRef BytePointer param_file)
public FloatSGDSolver(@Const @StdString @ByRef String param_file)
@Virtual @Const(value={false,false,true}) @Cast(value="const char*") public BytePointer type()
FloatSolvertype in class FloatSolver@Const @ByRef public FloatBlobSharedVector history()
@Virtual protected void ApplyUpdate()
ApplyUpdate in class FloatSolver@Virtual protected void Normalize(int param_id)
@Virtual protected void Regularize(int param_id)
@Virtual protected void ComputeUpdateValue(int param_id, float rate)
@Virtual protected void ClipGradients()
@Virtual protected void SnapshotSolverState(@Const @StdString @ByRef BytePointer model_filename)
SnapshotSolverState in class FloatSolver@Virtual protected void SnapshotSolverStateToBinaryProto(@Const @StdString @ByRef BytePointer model_filename)
@Virtual protected void SnapshotSolverStateToHDF5(@Const @StdString @ByRef BytePointer model_filename)
@Virtual protected void RestoreSolverStateFromHDF5(@Const @StdString @ByRef BytePointer state_file)
RestoreSolverStateFromHDF5 in class FloatSolver@Virtual protected void RestoreSolverStateFromBinaryProto(@Const @StdString @ByRef BytePointer state_file)
RestoreSolverStateFromBinaryProto in class FloatSolverCopyright © 2022. All rights reserved.