// https://github.com/keras-team/keras/blob/master/keras/engine/saving.py
        // https://github.com/keras-team/keras/blob/3b440235e237ef59ec5763c413e7f4292dab5d79/keras/engine/network.py

        public static void LoadWeightsH5(this Model model, string filePath)
        {
            using (var sr = new StreamReader(filePath))
            {
                var data = DataParser.CreateDataFromJson <WeightModel>(sr.ReadToEnd());

                LoadKerasLayers(data, model.layers);
            }
        }