§
    ú¸¸j–  ã                  ó†   — 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	dS )é    )ÚannotationsN)ÚOpRunÚdataú
np.ndarrayÚshapeÚ	allowzeroÚintÚreturnc                óØ   — t          j        |¦  «        }|dk    r:t          j        |dk    ¦  «        }t          j        | j        ¦  «        |         ||<   t          j        | |¦  «        }|S ©Nr   )ÚnpÚcopyÚwhereÚarrayr   Úreshape)r   r   r   Ú	new_shapeÚzeros_indexÚreshapeds         úm/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/onnx/reference/ops/op_reshape.pyÚ reshape_reference_implementationr      s^   € õ
 ”˜‘”€IØ�A‚~€~Ý”h˜u¨šzÑ*Ô*ˆÝ!#¤¨$¬*Ñ!5Ô!5°kÔ!Bˆ	�+ÑÝŒz˜$ 	Ñ*Ô*€HØ€Oó    c                  ó   — e Zd Zd„ ZdS )Ú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ð Cð Cð Cð Cr   r   c                  ó   — e Zd ZdS )Ú	Reshape_5N)r   r   r    r!   r   r   r#   r#      s   € € € € € Ø€Dr   r#   c                  ó   — e Zd Zdd„ZdS )Ú
Reshape_14Nc                ób   — |€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"   s>   € ØÐÝ  k°1Ñ5Ô5¸Ò:ˆIˆIà! QšˆIÝ0°°u¸iÑHÔHÐJÐJr   )Nr   r!   r   r   r%   r%   !   s.   € € € € € ðKð Kð Kð Kð Kð Kr   r%   )r   )r   r   r   r   r   r	   r
   r   )
Ú
__future__r   Únumpyr   Úonnx.reference.op_runr   r   r   r#   r%   r!   r   r   ú<module>r,      sï   ðð #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð à 'Ð 'Ð 'Ð 'Ð 'Ð 'ð ;<ð
ð 
ð 
ð 
ð 
ðCð Cð Cð Cð C�Eñ Cô Cð Cð
	ð 	ð 	ð 	ð 	�ñ 	ô 	ð 	ðKð Kð Kð Kð K�ñ Kô Kð Kð Kð Kr   