MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
TransferInput.cs
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace MyCaffe.common
8{
12 public class TransferInput
13 {
14 fnSetInputData m_fnSet = null;
15 fnGetInputData m_fnGet = null;
16
21 public delegate void fnSetInputData(BatchInput bi);
26 public delegate BatchInput fnGetInputData();
27
33 public TransferInput(fnGetInputData getInput, fnSetInputData setInput)
34 {
35 m_fnGet = getInput;
36 m_fnSet = setInput;
37 }
38
43 {
44 get { return m_fnGet; }
45 }
46
51 {
52 get { return m_fnSet; }
53 }
54 }
55}
The BatchInput class stores the mini-batch index and input data.
Definition: BatchInput.cs:13
The TransferInput class is used to transfer get and set input data.
fnSetInputData Set
Returns the delegate used to set the batch input.
delegate void fnSetInputData(BatchInput bi)
This delegate is used to set input data.
delegate BatchInput fnGetInputData()
This delegate is used to get input data.
TransferInput(fnGetInputData getInput, fnSetInputData setInput)
The TransferInput constructor.
fnGetInputData Get
Returns the delegate used to get the batch input.
The MyCaffe.common namespace contains common MyCaffe classes.
Definition: BatchInput.cs:8