我正在尝试保存培训数据
public void saveNetwork()
{
var serializer = new XmlSerializer (OutputLayer.GetType());
var stream = new FileStream ("Assets/Dataset.xml", FileMode.CreateNew);
serializer.Serialize (stream, OutputLayer);
stream.Close ();
}