You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when converting masked distribution to funsor, we cast the boolean mask to float and multiply the mask array with the base dist. It would be nice if we can leverage the boolean mask to avoid some computations when mask=False. I guess in that case, we can return a zero Tensor with shapes are interpreted from the backend masked distribution.
The text was updated successfully, but these errors were encountered:
Currently, when converting masked distribution to funsor, we cast the boolean mask to float and multiply the mask array with the base dist. It would be nice if we can leverage the boolean mask to avoid some computations when
mask=False
. I guess in that case, we can return a zero Tensor with shapes are interpreted from the backend masked distribution.The text was updated successfully, but these errors were encountered: