Coverage for mlprodict/onnxrt/ops_cpu/op_sequence_construct.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.1.0, created at 2023-02-04 02:28 +0100

1# -*- encoding: utf-8 -*- 

2# pylint: disable=E0203,E1101,C0111 

3""" 

4@file 

5@brief Runtime operator. 

6 

7.. versionadded:: 0.7 

8""" 

9from ._op import OpRun 

10 

11 

12class SequenceConstruct(OpRun): 

13 

14 atts = {} 

15 

16 def __init__(self, onnx_node, desc=None, **options): 

17 OpRun.__init__(self, onnx_node, desc=desc, 

18 atts=SequenceConstruct.atts, **options) 

19 

20 def _run(self, *data, attributes=None, verbose=0, fLOG=None): # pylint: disable=W0221 

21 return (data, )