-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYSTEMDS-3783] Fix wsigmoid rewrite test setup
The recent addition of various rewrite tests for code coverage left a FIXME on the wsigmoid test which gave incorrect results for all variants without transpose. After double checking, it turns out the test setup was wrong in the assumptions when the rewrite should apply (missing transpose) and how the shapes of involved matrices look like.
- Loading branch information
Showing
2 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,8 @@ Y = read($2) | |
W = read($3) | ||
type = $4 | ||
|
||
if( type > 4 ) | ||
X = t(X); | ||
|
||
# Perform operations | ||
if(type == 1){ | ||
|