U
    qh                     @  s4   d dl mZ d dlZd dlmZ G dd deZdS )    )annotationsN)OpRunc                   @  s   e Zd Zdd ZdS )SequenceLengthc                 C  s4   t |tstdt| dtjt|tjdfS )Nz"input_sequence must be a list not .)Zdtype)
isinstancelist	TypeErrortypenparraylenZint64)selfZinput_sequence r   I/tmp/pip-unpacked-wheel-xnis5xre/onnx/reference/ops/op_sequence_length.py_run   s
    
zSequenceLength._runN)__name__
__module____qualname__r   r   r   r   r   r      s   r   )
__future__r   Znumpyr
   Zonnx.reference.op_runr   r   r   r   r   r   <module>   s   