7 #ifndef REGCNN_TFNETHANDLER_H 8 #define REGCNN_TFNETHANDLER_H 49 #endif // REGCNN_TFNETHANDLER_H
RegPixelMap, basic input to CNN neural net.
std::vector< float > PredictNuEEnergy(const RegPixelMap &pm)
unsigned int fInputs
Number of tdcs for the network to classify.
std::string fLibPath
Library path (typically dune_pardata...)
std::vector< bool > fReverseViews
Do we need to reverse any views?
std::vector< float > Predict(const RegPixelMap &pm)
Return prediction arrays for RegPixelMap.
RegPixelMap3D for RegCNN modified from PixelMap.h.
Wrapper for caffe::Net which handles construction and prediction.
Defines an enumeration for cellhit classification.
TFRegNetHandler(const fhicl::ParameterSet &pset)
Constructor which takes a pset with DeployProto and ModelFile fields.
std::vector< std::string > fOutputName
RegPixelMap for RegCNN modified from PixelMap.h.
std::unique_ptr< tf::RegCNNGraph > fTFGraph
Tensorflow graph.
std::string fTFProtoBuf
location of the tf .pb file in the above path