@Name(value="caffe::SGDSolver<double>") @NoOffset @Properties(inherit=caffe.class) public class DoubleSGDSolver extends DoubleSolver
DoubleSolver.Callback
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DoubleSGDSolver(BytePointer param_file) |
DoubleSGDSolver(Pointer p)
Pointer cast constructor.
|
DoubleSGDSolver(SolverParameter param) |
DoubleSGDSolver(String param_file) |
Modifier and Type | Method and Description |
---|---|
protected void |
ApplyUpdate() |
protected void |
ClipGradients() |
protected void |
ComputeUpdateValue(int param_id,
double rate) |
DoubleBlobSharedVector |
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_nets
address, 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, zero
public DoubleSGDSolver(Pointer p)
Pointer(Pointer)
.public DoubleSGDSolver(@Const @ByRef SolverParameter param)
public DoubleSGDSolver(@Const @StdString @ByRef BytePointer param_file)
public DoubleSGDSolver(@Const @StdString @ByRef String param_file)
@Virtual @Const(value={false,false,true}) @Cast(value="const char*") public BytePointer type()
DoubleSolver
type
in class DoubleSolver
@Const @ByRef public DoubleBlobSharedVector history()
@Virtual protected void ApplyUpdate()
ApplyUpdate
in class DoubleSolver
@Virtual protected void Normalize(int param_id)
@Virtual protected void Regularize(int param_id)
@Virtual protected void ComputeUpdateValue(int param_id, double rate)
@Virtual protected void ClipGradients()
@Virtual protected void SnapshotSolverState(@Const @StdString @ByRef BytePointer model_filename)
SnapshotSolverState
in class DoubleSolver
@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 DoubleSolver
@Virtual protected void RestoreSolverStateFromBinaryProto(@Const @StdString @ByRef BytePointer state_file)
RestoreSolverStateFromBinaryProto
in class DoubleSolver
Copyright © 2022. All rights reserved.