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
{{ message }}
This repository was archived by the owner on Jul 1, 2023. It is now read-only.
Change momentum and epsilon properties to scalars. (#525)
Change the following properties from `Scalar` to `Tensor<Scalar>`.
- `BatchNorm.momentum`
- `BatchNorm.epsilon`
- `LayerNorm.epsilon`
Semantically, these properties are always scalars.
Note: this will be an API breaking change in Swift for TensorFlow 0.6.
Deprecating the other `BatchNorm` and `LayerNorm` initializers is tricky
because it causes ambiguity problems.
0 commit comments