Please sign in to comment.
Fix oso output of matrix parameter initialization.
(1) Some combinations not output at all! (2) Initializing to 1 set the initialization to (1,1,1,1...) instead of ident. (3) Initializing matrices to constructed constants would emit init ops even when not needed. (Fixing this may reduce init ops and improve perf slightly by avoiding doubly-initializing matrices.) Interestingly, #3 largely covered up #1 and #2, by re-copying the correct value in the process of initializing redundantly.
- Loading branch information...
Showing with 42 additions and 15 deletions.