Skip to content

Commit

Permalink
Refactor theno_backend to shorten linelength (#11391)
Browse files Browse the repository at this point in the history
* Refactor theno_backend to shorten linelength

A variety of different changes to ensure linelength falls within 85 charicter
linelength

Part of issue #11383

* Fixup Syntax in Theano Backend

Syntax fixes for incorrect line breaks.

* Fixup Linter Warnings

* Attempt to Fix Failing CTC Cost Tests

Change the ctc cost function to try and make the `test_ctc` pass again.

* fixed shaddowig of log_probs

* Fix up bad closing brackets

* Extract Variables dont' Wrap Lines

Update some of the refactorings to get line lengths under control by
extracting sub-expressions to their own variables ratther than
wrapping long lines. This should hopefully make things a little easier
to read.

* Fixup Broken For Loop

* Fix Mixup with `add` and `append`

Python lists `append` not `add` :-/
  • Loading branch information
JustLou authored and gabrieldemarmiesse committed Oct 20, 2018
1 parent 2fdbaa1 commit 8fc8a16
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 61 deletions.

0 comments on commit 8fc8a16

Please sign in to comment.