
    ΧgF                     4   d Z ddlZddlZddlmZmZ ddlmZm	Z	  ej
        e	j        d          ZdZ ed          dd	ej        fd
            Z ed          dd	ej        fd            ZeD ]'Z  ede            ej        e                     (dS )a'  
Note [ONNX operators that are added/updated from opset 7 to opset 8]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New operators:
  Expand

Updated operators:
  Min, Max, Sum, Mean: supports multidirectional broadcasting.
  MaxPool: added optional indices output.
  Scan
    N)symbolic_helpersymbolic_opset9)	jit_utilsregistration   )opset)
scanexpand	expand_asmeshgridadaptive_max_pool1dadaptive_max_pool2dadaptive_max_pool3dmax_pool1d_with_indicesmax_pool2d_with_indicesmax_pool3d_with_indicesz	aten::maxgc                 `    ||t          j        d           t          j        | |||          S )NzMultidirectional broadcasting is not supported in opset 7. This might cause the onnx model to be incorrect, if inputs to max operators have different shapes)warningswarnopset9maxr   selfdim_or_ykeepdims       V/var/www/html/ai-engine/env/lib/python3.11/site-packages/torch/onnx/symbolic_opset7.pyr   r   (   ?     8/$	
 	
 	

 :ax111    z	aten::minc                 `    ||t          j        d           t          j        | |||          S )NzMultidirectional broadcasting is not supported in opset 7. This might cause the onnx model to be incorrect, if inputs to min operators have different shapes)r   r   r   minr   s       r   r!   r!   4   r   r   zaten::)NN)__doc__	functoolsr   
torch.onnxr   r   r   torch.onnx._internalr   r   partialonnx_symbolic_onnx_symbolicblock_listed_operatorsGraphContextr   r!   block_listed_op_block_list_in_opset r   r   <module>r.      sE  
 
      A A A A A A A A 8 8 8 8 8 8 8 8 #"<#=QGGG " 2 29! 2 2 2 2 2 29! 2 2 2 2 .  O.NN-O--..,,_==    r   