
    h.                     2    S SK Jr  S SKJr   " S S\5      rg)    )np_dtype_to_tensor_dtype)_CommonRandomc                       \ rS rSrSS jrSrg)	Bernoulli
   Nc                     Uc  [        UR                  5      nU R                  XSS9nU R                  U5      nUR	                  SUS9R                  U5      nUR                  U5      4$ )NT)dtypedtype_first   )p)r   r	   _dtype
_get_statebinomialastype)selfxr	   seedstateress         Y/var/www/fran/franai/venv/lib/python3.13/site-packages/onnx/reference/ops/op_bernoulli.py_runBernoulli._run   sd    =,QWW5EA=%nnQ!n$++E2

5!##     )NN)__name__
__module____qualname____firstlineno__r   __static_attributes__r   r   r   r   r   
   s    $r   r   N)onnx.helperr   $onnx.reference.ops._op_common_randomr   r   r   r   r   <module>r"      s    1 >$ $r   