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
080347bc
".github/git@developer.sourcefind.cn:change/sglang.git" did not exist on "dff0ab92eb62171f0941f4d226094c818e02f7b3"
Commit
080347bc
authored
Jun 05, 2019
by
guptapriya
Committed by
guptapriya
Jun 04, 2019
Browse files
fix lint
parent
dcd76d49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
official/recommendation/ncf_keras_main.py
official/recommendation/ncf_keras_main.py
+2
-1
No files found.
official/recommendation/ncf_keras_main.py
View file @
080347bc
...
...
@@ -233,7 +233,8 @@ def _get_keras_model(params):
from_logits
=
True
,
reduction
=
"sum"
)
loss_scale_factor
=
batch_size
*
tf
.
distribute
.
get_strategy
().
num_replicas_in_sync
loss_scale_factor
=
(
batch_size
*
tf
.
distribute
.
get_strategy
().
num_replicas_in_sync
)
keras_model
.
add_loss
(
loss_obj
(
y_true
=
label_input
,
y_pred
=
softmax_logits
,
...
...
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