U
    qh                     @  s8   d dl mZ d dlZd dlmZ dZG dd deZdS )    )annotationsN)OpRun)UOc                   @  s   e Zd Zdd ZdS )StringConcatc                 C  sV   |j jtks|j jtkr0td|j  d|j  tj|tj|tjt	fS )Nz.Inputs must be string tensors, received dtype z and )
Zdtypekind_acceptable_str_dtypes	TypeErrornpcharaddZastypeZstr_object)selfxy r   G/tmp/pip-unpacked-wheel-xnis5xre/onnx/reference/ops/op_string_concat.py_run   s    

zStringConcat._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   r   <module>   s   