Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RModelParser_Keras.cxx
Go to the documentation of this file.
1// @(#)root/tmva/pymva $Id$
2// Author: Sanjiban Sengupta 2021
3
4
6
7
9
10
11
12RModel Parse(std::string /*filename*/, int /* batch_size */ ){
13
14 throw std::runtime_error("TMVA::SOFIE C++ Keras parser is deprecated. Use the python3 function "
15 "model = ROOT.TMVA.Experimental.SOFIE.PyKeras.Parse('model.keras',batch_size=1) " );
16
17 return RModel();
18}
19}
RModel Parse(std::string filename, int batch_size=-1)
Parser function for translating Keras .h5 model into a RModel object.