Commit 76433858 authored by Davis King's avatar Davis King

Renamed conv to tensor_conv

parent 9cbbe7b7
...@@ -234,8 +234,8 @@ namespace dlib ...@@ -234,8 +234,8 @@ namespace dlib
// ------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------
conv:: tensor_conv::
conv( tensor_conv(
) : ) :
filter_handle(nullptr), filter_handle(nullptr),
conv_handle(nullptr), conv_handle(nullptr),
...@@ -255,7 +255,7 @@ namespace dlib ...@@ -255,7 +255,7 @@ namespace dlib
{ {
} }
void conv:: void tensor_conv::
clear ( clear (
) )
{ {
...@@ -289,7 +289,7 @@ namespace dlib ...@@ -289,7 +289,7 @@ namespace dlib
backward_filters_workspace_size_in_bytes = 0; backward_filters_workspace_size_in_bytes = 0;
} }
void conv:: void tensor_conv::
setup( setup(
const tensor& data, const tensor& data,
const tensor& filters, const tensor& filters,
...@@ -410,14 +410,14 @@ namespace dlib ...@@ -410,14 +410,14 @@ namespace dlib
} }
} }
conv:: tensor_conv::
~conv ( ~tensor_conv (
) )
{ {
clear(); clear();
} }
void conv::operator() ( void tensor_conv::operator() (
resizable_tensor& output, resizable_tensor& output,
const tensor& data, const tensor& data,
const tensor& filters const tensor& filters
...@@ -450,7 +450,7 @@ namespace dlib ...@@ -450,7 +450,7 @@ namespace dlib
output.device())); output.device()));
} }
void conv::get_gradient_for_data ( void tensor_conv::get_gradient_for_data (
const tensor& gradient_input, const tensor& gradient_input,
const tensor& filters, const tensor& filters,
tensor& data_gradient tensor& data_gradient
...@@ -475,7 +475,7 @@ namespace dlib ...@@ -475,7 +475,7 @@ namespace dlib
data_gradient.device())); data_gradient.device()));
} }
void conv:: void tensor_conv::
get_gradient_for_filters ( get_gradient_for_filters (
const tensor& gradient_input, const tensor& gradient_input,
const tensor& data, const tensor& data,
......
...@@ -131,13 +131,13 @@ namespace dlib ...@@ -131,13 +131,13 @@ namespace dlib
// ------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------
class conv class tensor_conv
{ {
public: public:
conv(const conv&) = delete; tensor_conv(const tensor_conv&) = delete;
conv& operator=(const conv&) = delete; tensor_conv& operator=(const tensor_conv&) = delete;
conv(); tensor_conv();
void clear( void clear(
); );
...@@ -155,7 +155,7 @@ namespace dlib ...@@ -155,7 +155,7 @@ namespace dlib
- stride_x > 0 - stride_x > 0
!*/ !*/
~conv ( ~tensor_conv (
); );
void operator() ( void operator() (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment