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
5e92f10f
Commit
5e92f10f
authored
Nov 19, 2015
by
Davis King
Browse files
Fixed a compile time bug.
parent
a7ea7d00
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dlib/dnn/core.h
dlib/dnn/core.h
+5
-5
No files found.
dlib/dnn/core.h
View file @
5e92f10f
...
@@ -371,8 +371,8 @@ namespace dlib
...
@@ -371,8 +371,8 @@ namespace dlib
const
tensor
&
get_output
()
const
{
return
l
.
private_get_output
();
}
const
tensor
&
get_output
()
const
{
return
l
.
private_get_output
();
}
tensor
&
get_gradient_input
()
{
return
l
.
private_get_gradient_input
();
}
tensor
&
get_gradient_input
()
{
return
l
.
private_get_gradient_input
();
}
const
subnet_wrapper
<
typename
T
::
subnet_type
>&
subnet
()
const
{
subnetwork
;
}
const
subnet_wrapper
<
typename
T
::
subnet_type
,
false
>&
subnet
()
const
{
return
subnetwork
;
}
subnet_wrapper
<
typename
T
::
subnet_type
>&
subnet
()
{
subnetwork
;
}
subnet_wrapper
<
typename
T
::
subnet_type
,
false
>&
subnet
()
{
return
subnetwork
;
}
private:
private:
T
&
l
;
T
&
l
;
...
@@ -395,12 +395,12 @@ namespace dlib
...
@@ -395,12 +395,12 @@ namespace dlib
const
tensor
&
get_output
()
const
{
return
l
.
get_output
();
}
const
tensor
&
get_output
()
const
{
return
l
.
get_output
();
}
tensor
&
get_gradient_input
()
{
return
l
.
get_gradient_input
();
}
tensor
&
get_gradient_input
()
{
return
l
.
get_gradient_input
();
}
const
subnet_wrapper
<
typename
T
::
subnet_type
>&
subnet
()
const
{
subnetwork
;
}
const
subnet_wrapper
<
typename
T
::
subnet_type
,
false
>&
subnet
()
const
{
return
subnetwork
;
}
subnet_wrapper
<
typename
T
::
subnet_type
>&
subnet
()
{
subnetwork
;
}
subnet_wrapper
<
typename
T
::
subnet_type
,
false
>&
subnet
()
{
return
subnetwork
;
}
private:
private:
T
&
l
;
T
&
l
;
subnet_wrapper
<
typename
T
::
subnet_type
>
subnetwork
;
subnet_wrapper
<
typename
T
::
subnet_type
,
false
>
subnetwork
;
};
};
}
}
...
...
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