Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
706f7333
Commit
706f7333
authored
Dec 27, 2016
by
Neal Wu
Browse files
Add a link to explain the compilation command
parent
2dfcc4f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tutorials/embedding/README.md
tutorials/embedding/README.md
+2
-1
No files found.
tutorials/embedding/README.md
View file @
706f7333
...
...
@@ -21,11 +21,12 @@ rm source-archive.zip
You will need to compile the ops as follows:
```
shell
```
shell
TF_INC
=
$(
python
-c
'import tensorflow as tf; print(tf.sysconfig.get_include())'
)
g++
-std
=
c++11
-shared
word2vec_ops.cc word2vec_kernels.cc
-o
word2vec_ops.so
-fPIC
-I
$TF_INC
-O2
```
(If you want to know 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
)
).
Then run using:
```
shell
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment