Ë
    b¤Ig–  ã                  ó€   — d dl mZ d dlZd dlmZ 	 d	 	 	 	 	 	 	 dd„Z G d„ de«      Z G d„ de«      Z G d	„ d
e«      Z	y)é    )ÚannotationsN)ÚOpRunc                óà   — t        j                  |«      }|dk(  r=t        j                  |dk(  «      }t        j                  | j                  «      |   ||<   t        j
                  | |«      }|S ©Nr   )ÚnpÚcopyÚwhereÚarrayÚshapeÚreshape)Údatar   Ú	allowzeroÚ	new_shapeÚzeros_indexÚreshapeds         úZ/var/www/html/answerous/venv/lib/python3.12/site-packages/onnx/reference/ops/op_reshape.pyÚ reshape_reference_implementationr      s[   € ô
 —‘˜“€IØA‚~Ü—h‘h˜u¨™zÓ*ˆÜ!#§¡¨$¯*©*Ó!5°kÑ!Bˆ	+ÑÜz‰z˜$ 	Ó*€HØ€Oó    c                  ó   — e Zd Zd„ Zy)ÚCommonReshapec                ó   — t        ||d«      fS r   )r   )Úselfr   r   s      r   Ú_runzCommonReshape._run   s   € Ü0°°u¸aÓ@ÐBÐBr   N©Ú__name__Ú
__module__Ú__qualname__r   © r   r   r   r      s   „ óCr   r   c                  ó   — e Zd Zy)Ú	Reshape_5N)r   r   r   r   r   r   r    r       s   „ Ør   r    c                  ó   — e Zd Zdd„Zy)Ú
Reshape_14Nc                óN   — |€t        | dd«      dk(  }n|dk(  }t        |||«      fS )Nr   r   é   )Úgetattrr   )r   r   r   r   s       r   r   zReshape_14._run"   s6   € ØÐÜ  k°1Ó5¸Ñ:‰Ià! Q™ˆIÜ0°°u¸iÓHÐJÐJr   )Nr   r   r   r   r"   r"   !   s   „ ôKr   r"   )r   )r   ú
np.ndarrayr   r&   r   ÚintÚreturnr&   )
Ú
__future__r   Únumpyr   Úonnx.reference.op_runr   r   r   r    r"   r   r   r   ú<module>r,      sb   ðõ #ã å 'ð ;<ð
Ø
ð
Ø'ð
Ø47ð
àó
ôCEô Cô
	ô 	ôKõ Kr   