Skip to content

Commit

Permalink
Fix typo: l to layer
Browse files Browse the repository at this point in the history
  • Loading branch information
prbzrg committed Mar 18, 2024
1 parent c27b9f5 commit ed09bb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/transform/flux.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ going to be supported.
## Keyword Arguments
- `preserve_ps_st`: Set to `true` to preserve the states and parameters of the l. This
- `preserve_ps_st`: Set to `true` to preserve the states and parameters of the layer. This
attempts the best possible way to preserve the original model. But it might fail. If you
need to override possible failures, set `force_preserve` to `true`.
Expand Down Expand Up @@ -51,7 +51,7 @@ API internally.
:::warning
Lux was written to overcome the limitations of `destructure` + `Flux`. It is recommended
to rewrite your l in Lux instead of using this layer.
to rewrite your layer in Lux instead of using this layer.
:::
Expand Down Expand Up @@ -79,7 +79,7 @@ end
"""
Adapt.adapt(from::FromFluxAdaptor, L)
Adapt a Flux model `l` to Lux model. See [`FromFluxAdaptor`](@ref) for more details.
Adapt a Flux model `L` to Lux model. See [`FromFluxAdaptor`](@ref) for more details.
"""
function Adapt.adapt(from::FromFluxAdaptor, L)
if Base.get_extension(@__MODULE__, :LuxFluxExt) === nothing
Expand Down

0 comments on commit ed09bb9

Please sign in to comment.