Skip to content

Commit c636ba9

Browse files
author
zeptodoctor
committed
build based on 6295734
1 parent 65cd034 commit c636ba9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

dev/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
p = size(x, d)
8080
sum(x.^p .+ y)
8181
end
82-
([14.0, 22.0], 2.0, nothing)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/FluxML/Zygote.jl/blob/92dab93758cd423b710f54cccdedb0172ec35df4/src/compiler/interface.jl#L126-L151">source</a></section></article><pre><code class="language-julia">julia&gt; linear(θ, x) = θ[:W] * x .+ θ[:b]
82+
([14.0, 22.0], 2.0, nothing)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/FluxML/Zygote.jl/blob/6295734229ee2152915c1dad93dd0345525c62b2/src/compiler/interface.jl#L126-L151">source</a></section></article><pre><code class="language-julia">julia&gt; linear(θ, x) = θ[:W] * x .+ θ[:b]
8383
linear (generic function with 1 method)
8484

8585
julia&gt; x = rand(5);
@@ -121,7 +121,7 @@
121121
8.0 80.0 800.0
122122

123123
julia&gt; haskey(g, z) # only x and y are parameters
124-
false</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/FluxML/Zygote.jl/blob/92dab93758cd423b710f54cccdedb0172ec35df4/src/compiler/interface.jl#L227-L251">source</a></section></article><pre><code class="language-julia">julia&gt; W = rand(2, 5); b = rand(2);
124+
false</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/FluxML/Zygote.jl/blob/6295734229ee2152915c1dad93dd0345525c62b2/src/compiler/interface.jl#L227-L251">source</a></section></article><pre><code class="language-julia">julia&gt; W = rand(2, 5); b = rand(2);
125125

126126
julia&gt; linear(x) = W * x .+ b
127127
linear (generic function with 2 methods)

0 commit comments

Comments
 (0)