// Copyright 2016, Tobias Hermann.
// https://github.com/Dobiasd/frugally-deep
// Distributed under the MIT License.
// (See accompanying LICENSE file or at
//  https://opensource.org/licenses/MIT)

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest/doctest.h"
#define FDEEP_FLOAT_TYPE double
#include <fdeep/fdeep.hpp>

TEST_CASE("test_model_gru_test_stateful, load_model")
{
    auto model = fdeep::load_model("../test_model_gru_stateful.json",
        true, fdeep::cout_logger, static_cast<fdeep::float_type>(0.00001));
    model.predict_stateful(model.generate_dummy_inputs());
    model.predict_stateful(model.generate_dummy_inputs());
}
