
    wi@                    F    d dl mZ d dlmZ d dlmZ  G d de          ZdS )    )annotations)np_dtype_to_tensor_dtype)_CommonRandomc                      e Zd ZddZdS )	BernoulliNc                   |t          |j                  }|                     ||d          }|                     |          }|                    d|                              |          }|                    |          fS )NT)dtypedtype_first   )p)r   r	   _dtype
_get_statebinomialastype)selfxr	   seedstateress         o/root/.openclaw/workspace/chatterbox_venv_py311/lib/python3.11/site-packages/onnx/reference/ops/op_bernoulli.py_runzBernoulli._run   sv    =,QW55EAU==%%nnQ!n$$++E22

5!!##    )NN)__name__
__module____qualname__r    r   r   r   r   
   s(        $ $ $ $ $ $r   r   N)
__future__r   onnx.helperr   $onnx.reference.ops._op_common_randomr   r   r   r   r   <module>r       sq    # " " " " " 0 0 0 0 0 0 > > > > > >$ $ $ $ $ $ $ $ $ $r   