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
3ec25e5d
Commit
3ec25e5d
authored
Oct 17, 2018
by
Shawn Wang
Browse files
Delint.
parent
f9742f43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/recommendation/neumf_model.py
official/recommendation/neumf_model.py
+1
-1
No files found.
official/recommendation/neumf_model.py
View file @
3ec25e5d
...
@@ -349,7 +349,7 @@ def compute_eval_loss_and_metrics(logits, # type: tf.Tensor
...
@@ -349,7 +349,7 @@ def compute_eval_loss_and_metrics(logits, # type: tf.Tensor
def
compute_top_k_and_ndcg
(
logits
,
# type: tf.Tensor
def
compute_top_k_and_ndcg
(
logits
,
# type: tf.Tensor
duplicate_mask
,
# type: tf.Tensor
duplicate_mask
,
# type: tf.Tensor
match_mlperf
=
False
# type: bool
match_mlperf
=
False
# type: bool
):
):
"""Compute inputs of metric calculation.
"""Compute inputs of metric calculation.
Args:
Args:
...
...
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