Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion edward2/jax/nn/random_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class RandomFourierFeatures(nn.Module):
dtype: the dtype of the computation (default: float32).
"""
features: int
feature_scale: Optional[jnp.float32] = 1.
feature_scale: Optional[jnp.float32] = 1. # pyrefly: ignore[not-a-type]
activation: Callable[[Array], Array] = default_rbf_activation
kernel_init: Initializer = default_rbf_kernel_init
bias_init: Initializer = default_rbf_bias_init
Expand Down
Loading