MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
DataLayers.cs
1using MyCaffe.param;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7
9{
10 class DataLayerInfo : LayerInfo
11 {
12 public DataLayerInfo(LayerParameter layer, VariableCollection inputs) : base(layer, inputs)
13 {
14 m_rgParameters.Add("batch_size", layer.data_param.batch_size);
15 }
16
17 public override string Generate(GENERATE gen)
18 {
19 string strCode = "";
20 return strCode;
21 }
22 }
23}
virtual uint batch_size
Specifies the batch size.
Specifies the base parameter for all layers.
DataParameter data_param
Returns the parameter set when initialized with LayerType.DATA
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-...
Definition: Annotation.cs:12