diff options
Diffstat (limited to 'tensorflow/contrib/cmake/README.md')
-rw-r--r-- | tensorflow/contrib/cmake/README.md | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/tensorflow/contrib/cmake/README.md b/tensorflow/contrib/cmake/README.md index a3510b5e86..3f8dcc525b 100644 --- a/tensorflow/contrib/cmake/README.md +++ b/tensorflow/contrib/cmake/README.md @@ -60,7 +60,9 @@ Note: Windows support is in an **alpha** state, and we welcome your feedback. on Windows, but have not yet committed to supporting that configuration.) - The following Python APIs are not currently implemented: - * Loading custom op libraries via `tf.load_op_library()`. + * Loading custom op libraries via `tf.load_op_library()`. In order to use your + custom op, please put the source code under the tensorflow/core/user_ops + directory, and a shape function is required (not optional) for each op. * Path manipulation functions (such as `tf.gfile.ListDirectory()`) are not functional. @@ -76,7 +78,6 @@ Note: Windows support is in an **alpha** state, and we welcome your feedback. * `ImmutableConst` * `Lgamma` * `Polygamma` - * `SparseMatmul` * `Zeta` - Google Cloud Storage support is not currently implemented. The GCS library @@ -195,7 +196,21 @@ Step-by-step Windows build * `-Dtensorflow_ENABLE_GPU=(ON|OFF)`. Defaults to `OFF`. Include GPU support. If GPU is enabled you need to install the CUDA 8.0 Toolkit and CUDNN 5.1. CMake will expect the location of CUDNN in -DCUDNN_HOME=path_you_unziped_cudnn. - + + * `-Dtensorflow_BUILD_CC_TESTS=(ON|OFF)`. Defaults to `OFF`. This builds cc unit tests. + There are many of them and building will take a few hours. + After cmake, build and execute the tests with + ``` + MSBuild /p:Configuration=RelWithDebInfo ALL_BUILD.vcxproj + ctest -C RelWithDebInfo + ``` + + * `-Dtensorflow_BUILD_PYTHON_TESTS=(ON|OFF)`. Defaults to `OFF`. This enables python kernel tests. + After building the python wheel, you need to install the new wheel before running the tests. + To execute the tests, use + ``` + ctest -C RelWithDebInfo + ``` 4. Invoke MSBuild to build TensorFlow. |