Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to the LinearTransformation API: add inverse(), remove transf…
…ormY(y), and rename transformX(x) to transform(x). Note that inverse().transform(y) is the new transformY(y). The inverse is lazily initialized, following the pattern used in Converter. (This doesn't to any double-checked locking or anything, which is presumably okay because in the unlikely event of a race, constructing it twice is not the end of the world.) TGP appears to show nothing but flakes: [][] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=118056833
- Loading branch information
Showing
2 changed files
with
156 additions
and
87 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
Oops, something went wrong.