docs: public KerasModel buildModel()
              throws IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException {
          KerasModel model = new KerasModel(this);
          close();
          return model;
      }