ATLAS Offline Software
Control
AthOnnx
AthOnnxComps
python
OnnxRuntimeSvcConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
4
from
AthenaConfiguration.ComponentFactory
import
CompFactory
5
6
def
OnnxRuntimeSvcCfg
(flags, name="OnnxRuntimeSvc", **kwargs):
7
acc =
ComponentAccumulator
()
8
9
acc.addService(CompFactory.AthOnnx.OnnxRuntimeSvc(name, **kwargs), primary=
True
, create=
True
)
10
11
return
acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition:
JetAnalysisCommon.py:302
python.OnnxRuntimeSvcConfig.OnnxRuntimeSvcCfg
def OnnxRuntimeSvcCfg(flags, name="OnnxRuntimeSvc", **kwargs)
Definition:
OnnxRuntimeSvcConfig.py:6
Generated on Sun Dec 22 2024 21:15:51 for ATLAS Offline Software by
1.8.18