2using System.Collections.Generic;
15 [TypeConverter(typeof(ExpandableObjectConverter))]
19 int m_nCurrentStep = 0;
20 List<BlobProto> m_history =
new List<BlobProto>();
26 List<BlobProto> m_rgHistoryS =
new List<BlobProto>();
27 List<double> m_rgHistoryRho =
new List<double>();
41 get {
return m_nIter; }
42 set { m_nIter = value; }
50 get {
return m_nStart; }
51 set { m_nStart = value; }
59 get {
return m_nEnd; }
60 set { m_nEnd = value; }
68 get {
return m_history; }
69 set { m_history = value; }
77 get {
return m_nCurrentStep; }
78 set { m_nCurrentStep = value; }
86 get {
return m_gradients; }
87 set { m_gradients = value; }
95 get {
return m_direction; }
96 set { m_direction = value; }
104 get {
return m_rgHistoryS; }
105 set { m_rgHistoryS = value; }
113 get {
return m_rgHistoryRho; }
114 set { m_rgHistoryRho = value; }
The BlobProto contains the descripion of a blob.
The SolverState specifies the state of a given solver.
int end
Specifies the end used by L-BGFS
BlobProto gradients
Gradients used with L-BFGS state.
SolverState()
The SolverState constructor.
List< double > rho_history
rho history used with L-BFGS state.
int iter
The current iteration.
List< BlobProto > history
The history for SGD solvers.
int start
Specifies the start used by L-BGFS
int current_step
The current step for learning rate.
List< BlobProto > s_history
S history used with L-BFGS state.
BlobProto direction
Direction used with L-BFGS state.
The MyCaffe.common namespace contains common MyCaffe classes.
The MyCaffe.param namespace contains parameters used to create models.
The MyCaffe namespace contains the main body of MyCaffe code that closesly tracks the C++ Caffe open-...