-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build,src] Upgrade TensorFlow RNN to 2.0 (#3771)
* Improve CMake build script * Builds or ignore CUDA objects based on availibility of CUDA tools. * Builds C++ binaries of tfrnnlm if `-DTENSORFLOW_DIR=...` is provided. * Select Apple BLAS by default when building on MacOS. * Enable CTest for tests (run `ctest` or `make test`). Typical build on Linux with CUDA+MKL: ``` export MKLROOT cmake -DMATHLIB=MKL <cmakefile> make ctest ``` * Update model training script to TensorFlow v2 flavor * Enable rescore tool to load from SavedModel format * Update the training script which uses custom loss function Still tried to mimic original behavior without whole pipeline ready. * Fix numerical stability of the fast softmax model
- Loading branch information
Showing
10 changed files
with
493 additions
and
618 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
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.