|
@@ -28,7 +28,7 @@ g++ -std=c++11 -shared word2vec_ops.cc word2vec_kernels.cc -o word2vec_ops.so -f
|
|
|
|
|
|
|
|
On Mac, add `-undefined dynamic_lookup` to the g++ command.
|
|
On Mac, add `-undefined dynamic_lookup` to the g++ command.
|
|
|
|
|
|
|
|
-(For an explanation of what this is doing, see the tutorial on [Adding a New Op to TensorFlow](https://www.tensorflow.org/how_tos/adding_an_op/#building_the_op_library). The flag `-D_GLIBCXX_USE_CXX11_ABI=0` is included to support newer versions of g++. If you compiled TensorFlow from source using g++ 5 or later, you may need to exclude the flag.)
|
|
|
|
|
|
|
+(For an explanation of what this is doing, see the tutorial on [Adding a New Op to TensorFlow](https://www.tensorflow.org/how_tos/adding_an_op/#building_the_op_library). The flag `-D_GLIBCXX_USE_CXX11_ABI=0` is included to support newer versions of gcc. However, if you compiled TensorFlow from source using gcc 5 or later, you may need to exclude the flag.)
|
|
|
Then run using:
|
|
Then run using:
|
|
|
|
|
|
|
|
```shell
|
|
```shell
|