ATLAS Offline Software
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):
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