示例#1
0
 public override void Save(XmlElement layer)
 {
     layer.SetAttribute("size", Size.ToString());
     layer.SetAttribute("filter", Filter.Serialize());
     layer.SetAttribute("stride", Stride.Serialize());
     layer.SetAttribute("padding", Padding.Serialize());
     layer.SetAttribute("activation", Activation.ToString());
 }
示例#2
0
 public override void Save(XmlElement layer)
 {
     layer.SetAttribute("filter", Filter.Serialize());
     layer.SetAttribute("stride", Stride.Serialize());
     layer.SetAttribute("pooling-type", Type.ToString());
 }