Skip to content

Commit 87fe70f

Browse files
Saransh-cppmcabbott
andcommitted
Update src/layers/basic.jl
Co-authored-by: Michael Abbott <32575566+mcabbott@users.noreply.github.com>
1 parent 44fe8e4 commit 87fe70f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/layers/basic.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ end
5050

5151
(c::Chain)(x) = _applychain(c.layers, x)
5252

53-
# Calculates the forward results of the complete chain provided as a `Tuple`, `AbstractVector`,
54-
# or a `NamedTuple` of layers with `x` as model input. Users are encouraged to call a chain
55-
# instead of using this function directly.
5653
@generated function _applychain(layers::Tuple{Vararg{<:Any,N}}, x) where {N}
5754
symbols = vcat(:x, [gensym() for _ in 1:N])
5855
calls = [:($(symbols[i+1]) = layers[$i]($(symbols[i]))) for i in 1:N]

0 commit comments

Comments
 (0)