Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
2dbb860b
Commit
2dbb860b
authored
Feb 09, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarified spec
parent
02fe9a36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
loss_abstract.h
dlib/dnn/loss_abstract.h
+8
-1
No files found.
dlib/dnn/loss_abstract.h
View file @
2dbb860b
...
...
@@ -42,12 +42,19 @@ namespace dlib
const
static
unsigned
int
sample_expansion_factor
;
typedef
whatever_type_you_use_for_labels
label_type
;
EXAMPLE_LOSS_LAYER_
(
);
/*!
ensures
- EXAMPLE_LOSS_LAYER_ objects are default constructable.
!*/
EXAMPLE_LOSS_LAYER_
(
const
EXAMPLE_LOSS_LAYER_
&
item
);
/*!
ensures
- EXAMPLE_LOSS_LAYER_ objects are copy constructable
- EXAMPLE_LOSS_LAYER_ objects are copy constructable
.
!*/
// Implementing to_label() is optional.
...
...
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