Skip to content

Commit

Permalink
actaully fixing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinuzziFrancesco committed Nov 8, 2024
1 parent 5d96ff6 commit 611cc06
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using Documenter
include("pages.jl")

DocMeta.setdocmeta!(RecurrentLayers, :DocTestSetup, :(using RecurrentLayers); recursive=true)
mathengine = MathJax3()
mathengine = Documenter.MathJax()

makedocs(;
modules=[RecurrentLayers],
Expand Down
24 changes: 12 additions & 12 deletions src/indrnn_cell.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ Flux.@layer IndRNNCell
recurrent_kernel_init = glorot_uniform,
bias = true)
# Arguments
# Arguments
- `in => out`: input and inner dimension of the layer
- `σ`: activation function. Default is `tanh`
- `kernel_init`: initializer for the input to hidden weights
- `recurrent_kernel_init`: initializer for the hidden to hidden weights
- `bias`: include a bias or not. Default is `true`
- `in => out`: input and inner dimension of the layer
- `σ`: activation function. Default is `tanh`
- `kernel_init`: initializer for the input to hidden weights
- `recurrent_kernel_init`: initializer for the hidden to hidden weights
- `bias`: include a bias or not. Default is `true`
# Equations
```math
\mathbf{h}_{t+1} = \sigma(\mathbf{W} \mathbf{x}_t + \mathbf{u} \odot \mathbf{h}_{t} + \mathbf{b})
```
# Equations
```math
\mathbf{h}_{t+1} = \sigma(\mathbf{W} \mathbf{x}_t + \mathbf{u} \odot \mathbf{h}_{t} + \mathbf{b})
```
# Forward
# Forward
rnncell(inp, [state])
rnncell(inp, [state])
"""
function IndRNNCell((in, out)::Pair, σ=relu;
Expand Down

0 comments on commit 611cc06

Please sign in to comment.