Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-23 03:28:07

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def TritonImageProducer(*args, **kwargs):
0004   mod = cms.EDProducer('TritonImageProducer',
0005     Client = cms.PSet(
0006       mode = cms.string('PseudoAsync'),
0007       allowedTries = cms.untracked.uint32(0),
0008       verbose = cms.untracked.bool(False),
0009       modelName = cms.required.string,
0010       modelVersion = cms.string(''),
0011       modelConfigPath = cms.required.FileInPath,
0012       preferredServer = cms.untracked.string(''),
0013       timeout = cms.required.untracked.uint32,
0014       timeoutUnit = cms.untracked.string('seconds'),
0015       useSharedMemory = cms.untracked.bool(True),
0016       compression = cms.untracked.string(''),
0017       outputs = cms.untracked.vstring()
0018     ),
0019     batchSize = cms.int32(1),
0020     topN = cms.uint32(5),
0021     imageList = cms.required.FileInPath,
0022     mightGet = cms.optional.untracked.vstring
0023   )
0024   for a in args:
0025     mod.update_(a)
0026   mod.update_(kwargs)
0027   return mod