File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed
GPU/GPUTracking/TPCClusterFinder Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,7 @@ struct MemoryInfo;
3434struct Env ;
3535} // namespace Ort
3636
37- namespace o2
38- {
39-
40- namespace ml
37+ namespace o2 ::ml
4138{
4239
4340class OrtModel
@@ -127,8 +124,6 @@ class OrtModel
127124 std::string printShape (const std::vector<std::vector<int64_t >>&, std::vector<std::string>&);
128125};
129126
130- } // namespace ml
131-
132- } // namespace o2
127+ } // namespace o2::ml
133128
134129#endif // O2_ML_ORTINTERFACE_H
Original file line number Diff line number Diff line change @@ -287,9 +287,9 @@ std::vector<O> OrtModel::inference(std::vector<I>& input)
287287 return outputValuesVec;
288288}
289289
290- template std::vector<float > OrtModel::inference<float , float >(std::vector<float >&);
291- template std::vector<float > OrtModel::inference<OrtDataType::Float16_t, float >(std::vector<OrtDataType::Float16_t>&);
292- template std::vector<OrtDataType::Float16_t> OrtModel::inference<OrtDataType::Float16_t, OrtDataType::Float16_t>(std::vector<OrtDataType::Float16_t>&);
290+ template std::vector<float > o2::ml:: OrtModel::inference<float , float >(std::vector<float >&);
291+ template std::vector<float > o2::ml:: OrtModel::inference<OrtDataType::Float16_t, float >(std::vector<OrtDataType::Float16_t>&);
292+ template std::vector<OrtDataType::Float16_t> o2::ml:: OrtModel::inference<OrtDataType::Float16_t, OrtDataType::Float16_t>(std::vector<OrtDataType::Float16_t>&);
293293
294294template <class I , class O >
295295void OrtModel::inference (I* input, int64_t input_size, O* output)
Original file line number Diff line number Diff line change 2020#include < vector>
2121#include " ML/OrtInterface.h"
2222
23- using namespace o2 ::ml;
24-
2523class OrtMemoryInfo ;
2624class OrtAllocator ;
2725struct MockedOrtAllocator ;
You can’t perform that action at this time.
0 commit comments