diff --git a/Common/ML/include/ML/OrtInterface.h b/Common/ML/include/ML/OrtInterface.h index 7224645425856..0c498e33d2e2c 100644 --- a/Common/ML/include/ML/OrtInterface.h +++ b/Common/ML/include/ML/OrtInterface.h @@ -34,10 +34,7 @@ struct MemoryInfo; struct Env; } // namespace Ort -namespace o2 -{ - -namespace ml +namespace o2::ml { class OrtModel @@ -127,8 +124,6 @@ class OrtModel std::string printShape(const std::vector>&, std::vector&); }; -} // namespace ml - -} // namespace o2 +} // namespace o2::ml #endif // O2_ML_ORTINTERFACE_H diff --git a/Common/ML/src/OrtInterface.cxx b/Common/ML/src/OrtInterface.cxx index 8f31761489997..1cd9913efb6aa 100644 --- a/Common/ML/src/OrtInterface.cxx +++ b/Common/ML/src/OrtInterface.cxx @@ -287,9 +287,9 @@ std::vector OrtModel::inference(std::vector& input) return outputValuesVec; } -template std::vector OrtModel::inference(std::vector&); -template std::vector OrtModel::inference(std::vector&); -template std::vector OrtModel::inference(std::vector&); +template std::vector o2::ml::OrtModel::inference(std::vector&); +template std::vector o2::ml::OrtModel::inference(std::vector&); +template std::vector o2::ml::OrtModel::inference(std::vector&); template void OrtModel::inference(I* input, int64_t input_size, O* output) diff --git a/GPU/GPUTracking/TPCClusterFinder/GPUTPCNNClusterizerHost.h b/GPU/GPUTracking/TPCClusterFinder/GPUTPCNNClusterizerHost.h index 4334c3418eb09..a4449165261be 100644 --- a/GPU/GPUTracking/TPCClusterFinder/GPUTPCNNClusterizerHost.h +++ b/GPU/GPUTracking/TPCClusterFinder/GPUTPCNNClusterizerHost.h @@ -20,8 +20,6 @@ #include #include "ML/OrtInterface.h" -using namespace o2::ml; - class OrtMemoryInfo; class OrtAllocator; struct MockedOrtAllocator;