2using System.Collections.Generic;
5using System.Threading.Tasks;
22 List<Tuple<DateTime, int>> m_rgFullTarget;
34 public SimpleResult(
int nSrcID,
int nIdx, DateTime dt,
int nBatchCount,
int nResultCount,
float[] rgResult, List<Tuple<DateTime, int>> rgTarget)
39 m_nBatchCount = nBatchCount;
40 m_nResultCount = nResultCount;
41 m_rgResult = rgResult;
42 m_rgFullTarget = rgTarget;
43 m_rgTarget = rgTarget.Select(p => p.Item2).ToArray();
51 get {
return m_nSourceID; }
59 get {
return m_nIdx; }
75 get {
return m_nBatchCount; }
83 get {
return m_nResultCount; }
91 get {
return m_rgResult; }
99 get {
return m_rgTarget; }
107 get {
return m_rgFullTarget; }
The Result class contains a single result.
The SimpleResult class holds the result data stored in the RawImageResults table.
SimpleResult(int nSrcID, int nIdx, DateTime dt, int nBatchCount, int nResultCount, float[] rgResult, List< Tuple< DateTime, int > > rgTarget)
The constructor.
int[] Target
Returns the Target.
int BatchCount
Returns the number of results in the result data sets.
int ResultCount
Returns the number of results in the result array.
int Index
Returns the image index associated with the result.
List< Tuple< DateTime, int > > FullTarget
Returns the full target data.
DateTime TimeStamp
Returns the time-stamp of the result.
int SourceID
Returns the source ID of the data source associated with the result.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.