File indexing completed on 2025-10-26 07:55:41
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "ActsExamples/TrackFindingML/AmbiguityResolutionMLAlgorithm.hpp"
0010 #include "ActsExamples/TrackFindingML/SeedFilterMLAlgorithm.hpp"
0011 #include "ActsPython/Utilities/Helpers.hpp"
0012 #include "ActsPython/Utilities/Macros.hpp"
0013
0014 #include <pybind11/pybind11.h>
0015 #include <pybind11/stl.h>
0016
0017 namespace py = pybind11;
0018
0019 using namespace ActsExamples;
0020 using namespace Acts;
0021
0022 namespace ActsPython {
0023
0024 void addOnnx(Context& ctx) {
0025 auto [m, mex] = ctx.get("main", "examples");
0026 auto onnx = mex.def_submodule("_onnx");
0027 ctx.modules["onnx"] = onnx;
0028
0029 ACTS_PYTHON_DECLARE_ALGORITHM(
0030 AmbiguityResolutionMLAlgorithm, onnx, "AmbiguityResolutionMLAlgorithm",
0031 inputTracks, inputDuplicateNN, outputTracks, nMeasurementsMin);
0032
0033 ACTS_PYTHON_DECLARE_ALGORITHM(SeedFilterMLAlgorithm, onnx,
0034 "SeedFilterMLAlgorithm", inputTrackParameters,
0035 inputSimSeeds, inputSeedFilterNN,
0036 outputTrackParameters, outputSimSeeds,
0037 epsilonDBScan, minPointsDBScan, minSeedScore);
0038 }
0039 }