You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tmva/sofie/inc/TMVA/ROperator_TopK.hxx
+6-24Lines changed: 6 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -82,28 +82,10 @@ public:
82
82
}
83
83
// fK cannot be larger that axis dimension
84
84
fK = std::min(fK, fShapeX[fAttrAxis]);
85
-
// if(fK>fShapeX[fAttrAxis]){
86
-
// throw
87
-
// std::runtime_error("TMVA::SOFIE ONNX TopK op k = "+ std::to_string(fK) +" value exeeds value of tensor " +fNX+" of size "+fShapeX.size()+" at axis= "+std::to_string(fAttrAxis)+".");
88
-
// }
89
-
// fShapeX = model.GetTensorShape(fNX); // [ m x n x o x p ... ]
90
-
// if(k[0]>=fShapeX.size()){
91
-
// throw
92
-
// std::runtime_error("TMVA::SOFIE ONNX TopK op k = "+ std::to_string(k[0]) +"value exeeds size of tensor " +fNX+" of size "+fShapeX.size()+" .");
93
-
// }
94
-
// fShapeY.push_back(2);
95
-
// for (auto i : fShapeX)
96
-
// fShapeY.push_back(i); // [ 2 x m x n x o x p ... ]
0 commit comments