ATLAS Offline Software
Loading...
Searching...
No Matches
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.OnnxRuntimeSvcConfig.OnnxRuntimeSvcCfg
OnnxRuntimeSvcCfg(flags, name="OnnxRuntimeSvc", **kwargs)
Definition
OnnxRuntimeSvcConfig.py:6
Generated on
for ATLAS Offline Software by
1.14.0