
    bIg                    :    d dl mZ d dlZd dlmZ  G d de      Zy)    )annotationsN)OpRunc                      e Zd Zd Zy)SequenceLengthc                    t        |t              st        dt        |       d      t	        j
                  t        |      t        j                        fS )Nz"input_sequence must be a list not .)dtype)
isinstancelist	TypeErrortypenparraylenint64)selfinput_sequences     b/var/www/html/answerous/venv/lib/python3.12/site-packages/onnx/reference/ops/op_sequence_length.py_runzSequenceLength._run   sJ    .$/4T.5I4J!L  ^,BHH=??    N)__name__
__module____qualname__r    r   r   r   r      s    @r   r   )
__future__r   numpyr   onnx.reference.op_runr   r   r   r   r   <module>r      s    #  '@U @r   