Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.learn.tensorflow
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.learn.tensorflow
Merge requests
!85
Porting to TF2
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Porting to TF2
tf2
into
master
Overview
8
Commits
24
Pipelines
5
Changes
9
1 unresolved thread
Hide all comments
Merged
Tiago de Freitas Pereira
requested to merge
tf2
into
master
4 years ago
Overview
8
Commits
24
Pipelines
5
Changes
9
1 unresolved thread
Hide all comments
Expand
Fixes
#75 (closed)
Edited
4 years ago
by
Amir MOHAMMADI
0
0
Merge request reports
Viewing commit
bdcb031a
Prev
Next
Show latest version
9 files
+
1
−
382
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
bdcb031a
remove slim references
· bdcb031a
Amir MOHAMMADI
authored
4 years ago
bob/learn/tensorflow/loss/BaseLoss.py
+
0
−
2
Options
@@ -6,8 +6,6 @@ import logging
import
tensorflow
as
tf
logger
=
logging
.
getLogger
(
__name__
)
slim
=
tf
.
contrib
.
slim
def
mean_cross_entropy_loss
(
logits
,
labels
,
add_regularization_losses
=
True
):
"""
Loading