code: public KerasModelBuilder modelJsonInputStream(InputStream modelJsonInputStream) throws IOException {
          ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
          IOUtils.copy(modelJsonInputStream, byteArrayOutputStream);
          this.modelJson = new String(byteArrayOutputStream.toByteArray());
          return this;
      }
docs: Set model architecture from input stream of model JSON.
  
  @param modelJsonInputStream Input stream of model JSON
  @return Model builder
  @throws IOException I/O exception