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
32105a38
Commit
32105a38
authored
Sep 18, 2017
by
Andrew M Dai
Committed by
GitHub
Sep 18, 2017
Browse files
Merge pull request #2296 from yjmade/patch-1
Fix `Segmentation Fault` when loading very big corpus file
parents
0f97888b
0375c800
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tutorials/embedding/word2vec_kernels.cc
tutorials/embedding/word2vec_kernels.cc
+1
-1
No files found.
tutorials/embedding/word2vec_kernels.cc
View file @
32105a38
...
...
@@ -128,7 +128,7 @@ class SkipgramWord2vecOp : public OpKernel {
random
::
SimplePhilox
rng_
GUARDED_BY
(
mu_
);
int32
current_epoch_
GUARDED_BY
(
mu_
)
=
-
1
;
int64
total_words_processed_
GUARDED_BY
(
mu_
)
=
0
;
int
32
example_pos_
GUARDED_BY
(
mu_
);
int
64
example_pos_
GUARDED_BY
(
mu_
);
int32
label_pos_
GUARDED_BY
(
mu_
);
int32
label_limit_
GUARDED_BY
(
mu_
);
...
...
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