Skip to content

Commit 691ca35

Browse files
SomTambedarsnack
andauthored
Update src/utils.jl
Co-authored-by: Kyle Daruwalla <daruwalla.k.public@icloud.com>
1 parent 23a9c5b commit 691ca35

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/utils.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,11 @@ false
200200
201201
julia> W2' * W2 ≈ I(5)
202202
true
203+
204+
julia> W3 = Flux.orthogonal(3, 3, 2, 4);
205+
206+
julia> transpose(reshape(W3, :, 4)) * reshape(W3, :, 4) ≈ I(4)
207+
true
203208
```
204209
205210
# See also

0 commit comments

Comments
 (0)