@Name(value="caffe::Solver<float>") @NoOffset @Properties(inherit=caffe.class) public class FloatSolver extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
FloatSolver.Callback |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FloatSolver(BytePointer param_file) |
FloatSolver(Pointer p)
Pointer cast constructor.
|
FloatSolver(SolverParameter param) |
FloatSolver(String param_file) |
Modifier and Type | Method and Description |
---|---|
void |
add_callback(FloatSolver.Callback value) |
protected void |
ApplyUpdate() |
FloatCallbackVector |
callbacks() |
void |
CheckSnapshotWritePermissions() |
int |
GetRequestedAction() |
void |
Init(SolverParameter param) |
void |
InitTestNets() |
void |
InitTrainNet() |
int |
iter() |
FloatNet |
net() |
SolverParameter |
param() |
void |
Restore(BytePointer resume_file) |
void |
Restore(String resume_file) |
protected void |
RestoreSolverStateFromBinaryProto(BytePointer state_file) |
protected void |
RestoreSolverStateFromHDF5(BytePointer state_file) |
void |
SetActionFunction(caffe.ActionCallback func) |
void |
Snapshot() |
protected void |
SnapshotSolverState(BytePointer model_filename) |
void |
Solve() |
void |
Solve(BytePointer resume_file) |
void |
Solve(String resume_file) |
void |
Step(int iters) |
FloatNetSharedVector |
test_nets() |
BytePointer |
type()
\brief Returns the solver type.
|
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 FloatSolver(Pointer p)
Pointer(Pointer)
.public FloatSolver(@Const @ByRef SolverParameter param)
public FloatSolver(@Const @StdString @ByRef BytePointer param_file)
public FloatSolver(@Const @StdString @ByRef String param_file)
public void Init(@Const @ByRef SolverParameter param)
public void InitTrainNet()
public void InitTestNets()
public void SetActionFunction(@ByVal caffe.ActionCallback func)
@Virtual public void Solve(@Cast(value="const char*") BytePointer resume_file)
public void Solve(String resume_file)
public void Solve()
public void Step(int iters)
public void Restore(@Cast(value="const char*") BytePointer resume_file)
public void Restore(String resume_file)
public void Snapshot()
@Const @ByRef public SolverParameter param()
@SharedPtr @ByVal public FloatNet net()
@Const @ByRef public FloatNetSharedVector test_nets()
public int iter()
@Const @ByRef public FloatCallbackVector callbacks()
public void add_callback(FloatSolver.Callback value)
public void CheckSnapshotWritePermissions()
@Virtual @Const(value={false,false,true}) @Cast(value="const char*") public BytePointer type()
@Virtual(value=true) protected void SnapshotSolverState(@Const @StdString @ByRef BytePointer model_filename)
@Virtual(value=true) protected void RestoreSolverStateFromHDF5(@Const @StdString @ByRef BytePointer state_file)
@Virtual(value=true) protected void RestoreSolverStateFromBinaryProto(@Const @StdString @ByRef BytePointer state_file)
Copyright © 2022. All rights reserved.