@Name(value="caffe::SGDSolver<double>") @NoOffset @Properties(inherit=caffe.class) public class DoubleSGDSolver extends DoubleSolver
DoubleSolver.CallbackPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| 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_netsaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic DoubleSGDSolver(Pointer p)
Pointer.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()
DoubleSolvertype 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 DoubleSolverCopyright © 2019. All rights reserved.