public override LayerData SaveJSON() { LayerData data = base.SaveJSON(); FullConData fd = new FullConData(); fd.weights = weights; data.classData = JsonConvert.SerializeObject(fd); return(data); }
public FullyConnLayar(LayerData data) : base(data) { FullConData fd = JsonConvert.DeserializeObject <FullConData>(data.classData); weights = fd.weights; }