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
76433858
Commit
76433858
authored
Nov 09, 2015
by
Davis King
Browse files
Renamed conv to tensor_conv
parent
9cbbe7b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.cpp
+9
-9
dlib/dnn/cudnn_dlibapi.h
dlib/dnn/cudnn_dlibapi.h
+5
-5
No files found.
dlib/dnn/cudnn_dlibapi.cpp
View file @
76433858
...
...
@@ -234,8 +234,8 @@ namespace dlib
// ------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------
conv
::
conv
(
tensor_
conv
::
tensor_
conv
(
)
:
filter_handle
(
nullptr
),
conv_handle
(
nullptr
),
...
...
@@ -255,7 +255,7 @@ namespace dlib
{
}
void
conv
::
void
tensor_
conv
::
clear
(
)
{
...
...
@@ -289,7 +289,7 @@ namespace dlib
backward_filters_workspace_size_in_bytes
=
0
;
}
void
conv
::
void
tensor_
conv
::
setup
(
const
tensor
&
data
,
const
tensor
&
filters
,
...
...
@@ -410,14 +410,14 @@ namespace dlib
}
}
conv
::
~
conv
(
tensor_
conv
::
~
tensor_
conv
(
)
{
clear
();
}
void
conv
::
operator
()
(
void
tensor_
conv
::
operator
()
(
resizable_tensor
&
output
,
const
tensor
&
data
,
const
tensor
&
filters
...
...
@@ -450,7 +450,7 @@ namespace dlib
output
.
device
()));
}
void
conv
::
get_gradient_for_data
(
void
tensor_
conv
::
get_gradient_for_data
(
const
tensor
&
gradient_input
,
const
tensor
&
filters
,
tensor
&
data_gradient
...
...
@@ -475,7 +475,7 @@ namespace dlib
data_gradient
.
device
()));
}
void
conv
::
void
tensor_
conv
::
get_gradient_for_filters
(
const
tensor
&
gradient_input
,
const
tensor
&
data
,
...
...
dlib/dnn/cudnn_dlibapi.h
View file @
76433858
...
...
@@ -131,13 +131,13 @@ namespace dlib
// ------------------------------------------------------------------------------------
class
conv
class
tensor_
conv
{
public:
conv
(
const
conv
&
)
=
delete
;
conv
&
operator
=
(
const
conv
&
)
=
delete
;
tensor_
conv
(
const
tensor_
conv
&
)
=
delete
;
tensor_
conv
&
operator
=
(
const
tensor_
conv
&
)
=
delete
;
conv
();
tensor_
conv
();
void
clear
(
);
...
...
@@ -155,7 +155,7 @@ namespace dlib
- stride_x > 0
!*/
~
conv
(
~
tensor_
conv
(
);
void
operator
()
(
...
...
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