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
OpenDAS
dlib
Commits
2dbb860b
Commit
2dbb860b
authored
Feb 09, 2016
by
Davis King
Browse files
clarified spec
parent
02fe9a36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
dlib/dnn/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
...
@@ -42,12 +42,19 @@ namespace dlib
const
static
unsigned
int
sample_expansion_factor
;
const
static
unsigned
int
sample_expansion_factor
;
typedef
whatever_type_you_use_for_labels
label_type
;
typedef
whatever_type_you_use_for_labels
label_type
;
EXAMPLE_LOSS_LAYER_
(
);
/*!
ensures
- EXAMPLE_LOSS_LAYER_ objects are default constructable.
!*/
EXAMPLE_LOSS_LAYER_
(
EXAMPLE_LOSS_LAYER_
(
const
EXAMPLE_LOSS_LAYER_
&
item
const
EXAMPLE_LOSS_LAYER_
&
item
);
);
/*!
/*!
ensures
ensures
- EXAMPLE_LOSS_LAYER_ objects are copy constructable
- EXAMPLE_LOSS_LAYER_ objects are copy constructable
.
!*/
!*/
// Implementing to_label() is optional.
// 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