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()); }
public override void Save(XmlElement layer) { layer.SetAttribute("filter", Filter.Serialize()); layer.SetAttribute("stride", Stride.Serialize()); layer.SetAttribute("pooling-type", Type.ToString()); }