
    bIg                    Z    d dl mZ d dlZd dlZd dlmZ d dlmZ d dl	m
Z
  G d de      Zy)    )annotationsN)Base)expect)create_random_intc                  0    e Zd Zedd       Zedd       Zy)
BitwiseAndc                    t         j                  j                  dddgdg      } t        dt        j
                        }t        dt        j
                        }t	        j                  ||      }t        | ||g|gd       t        d	t        j                        }t        d	t        j                        }t	        j                  ||      }t        | ||g|gd
       y )Nr   xy
bitwiseandinputsoutputs)      test_bitwise_and_i32_2dr   r   namer   r      test_bitwise_and_i16_3d)	onnxhelper	make_noder   npint32bitwise_andr   int16noder
   r   zs       c/var/www/html/answerous/venv/lib/python3.12/site-packages/onnx/backend/test/case/node/bitwiseand.pyexportzBitwiseAnd.export   s    {{$$:!N % 
 fbhh/fbhh/NN1a tQFQC6OP i2i2NN1a tQFQC6OP    c                    t         j                  j                  dddgdg      } t        dt        j
                        }t        dt        j
                        }t	        j                  ||      }t        | ||g|gd	       t        d
t        j                        }t        dt        j                        }t	        j                  ||      }t        | ||g|gd	       y )Nr   r
   r   r   r   r   )r    test_bitwise_and_ui64_bcast_3v1dr   )r   r   r      )r   r   r'   test_bitwise_and_ui8_bcast_4v3d)	r   r   r   r   r   uint64r   r   uint8r   s       r"   export_bitwiseand_broadcastz&BitwiseAnd.export_bitwiseand_broadcast#   s    {{$$:!N % 
 i3dBII.NN1a !Q!3U	

 lBHH5i2NN1a tQFQC6WXr$   N)returnNone)__name__
__module____qualname__staticmethodr#   r+    r$   r"   r   r      s,    Q Q& Y Yr$   r   )
__future__r   numpyr   r   onnx.backend.test.case.baser   onnx.backend.test.case.noder   onnx.numpy_helperr   r   r2   r$   r"   <module>r8      s'    #   , . /)Y )Yr$   