Skip to content

Commit

Permalink
[tmva] Add missing overrides in TMVA
Browse files Browse the repository at this point in the history
  • Loading branch information
guitargeek committed Dec 18, 2023
1 parent 6ac991d commit 0f96acd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tmva/sofie/inc/TMVA/ROperator_Comparision.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ public:
fNX1(UTILITY::Clean_name(nameX1)), fNX2(UTILITY::Clean_name(nameX2)), fNY(UTILITY::Clean_name(nameY)){}

// type of output given input
std::vector<ETensorType> TypeInference(std::vector<ETensorType> input){
std::vector<ETensorType> TypeInference(std::vector<ETensorType> input) override {
return input;
}

// shape of output tensors given input tensors
std::vector<std::vector<size_t>> ShapeInference(std::vector<std::vector<size_t>> input){
std::vector<std::vector<size_t>> ShapeInference(std::vector<std::vector<size_t>> input) override {
auto ret = input; // return vector size 1 with first input
return ret;
}
Expand Down Expand Up @@ -132,7 +132,7 @@ public:
model.AddIntermediateTensor(fNY, ETensorType::BOOL , fShapeY);
}

std::string Generate(std::string OpName){
std::string Generate(std::string OpName) override {
OpName = "op_" + OpName;

if (fShapeY.empty()) {
Expand Down Expand Up @@ -176,4 +176,4 @@ public:
}//TMVA


#endif //TMVA_SOFIE_ROperator_Comparision
#endif //TMVA_SOFIE_ROperator_Comparision

0 comments on commit 0f96acd

Please sign in to comment.