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
Technically, this isn't a bug (since our type-hint does say it only supports float), but gaussian1d will fail if the std is an integer (because we check explicitly for isinstance(std, float) and assume it's a Tensor if not. This is a weird sharp edge, so probably should just call torch.as_tensor on std
The text was updated successfully, but these errors were encountered:
Technically, this isn't a bug (since our type-hint does say it only supports float), but
gaussian1d
will fail if thestd
is an integer (because we check explicitly forisinstance(std, float)
and assume it's a Tensor if not. This is a weird sharp edge, so probably should just calltorch.as_tensor
onstd
The text was updated successfully, but these errors were encountered: