code: public static ComputationGraph importKerasModelAndWeights( InputStream modelHdf5Stream, boolean enforceTrainingConfig)
              throws IOException, UnsupportedKerasConfigurationException, InvalidKerasConfigurationException{
          File f = null;
          try{
              f = toTempFile(modelHdf5Stream);
              return importKerasModelAndWeights(f.getAbsolutePath(), enforceTrainingConfig);
          } finally {
              if(f != null)
                  f.delete();
          }
      }
docs: Load Keras (Functional API) Model saved using model.save_model(...).
  
  @param modelHdf5Stream       InputStream containing HDF5 archive storing Keras Model
  @param enforceTrainingConfig whether to enforce training configuration options
  @return ComputationGraph
  @see ComputationGraph