MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
BatchInput.cs
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
8{
12 public class BatchInput
13 {
14 int m_nBatchIdx = 0;
15 object m_objInput = null;
16
22 public BatchInput(int nIdxBatch, object objInput)
23 {
24 m_nBatchIdx = nIdxBatch;
25 m_objInput = objInput;
26 }
27
31 public int BatchIndex
32 {
33 get { return m_nBatchIdx; }
34 }
35
39 public object InputData
40 {
41 get { return m_objInput; }
42 }
43 }
44}
The BatchInput class stores the mini-batch index and input data.
Definition: BatchInput.cs:13
object InputData
Returns the input data.
Definition: BatchInput.cs:40
BatchInput(int nIdxBatch, object objInput)
The BatchInput constructor.
Definition: BatchInput.cs:22
int BatchIndex
Returns the batch index.
Definition: BatchInput.cs:32
The MyCaffe.common namespace contains common MyCaffe classes.
Definition: BatchInput.cs:8