MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
TransferInput.cs
1
using
System
;
2
using
System
.Collections.Generic;
3
using
System
.Linq;
4
using
System
.Text;
5
using
System
.Threading.Tasks;
6
7
namespace
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
42
public
fnGetInputData
Get
43
{
44
get
{
return
m_fnGet; }
45
}
46
50
public
fnSetInputData
Set
51
{
52
get
{
return
m_fnSet; }
53
}
54
}
55
}
MyCaffe.common.BatchInput
The BatchInput class stores the mini-batch index and input data.
Definition:
BatchInput.cs:13
MyCaffe.common.TransferInput
The TransferInput class is used to transfer get and set input data.
Definition:
TransferInput.cs:13
MyCaffe.common.TransferInput.Set
fnSetInputData Set
Returns the delegate used to set the batch input.
Definition:
TransferInput.cs:51
MyCaffe.common.TransferInput.fnSetInputData
delegate void fnSetInputData(BatchInput bi)
This delegate is used to set input data.
MyCaffe.common.TransferInput.fnGetInputData
delegate BatchInput fnGetInputData()
This delegate is used to get input data.
MyCaffe.common.TransferInput.TransferInput
TransferInput(fnGetInputData getInput, fnSetInputData setInput)
The TransferInput constructor.
Definition:
TransferInput.cs:33
MyCaffe.common.TransferInput.Get
fnGetInputData Get
Returns the delegate used to get the batch input.
Definition:
TransferInput.cs:43
MyCaffe.common
The MyCaffe.common namespace contains common MyCaffe classes.
Definition:
BatchInput.cs:8
System
Definition:
Component.cs:11
MyCaffe is currated by
Help generated by
1.8.13