Commit 76433858 authored by Davis King's avatar Davis King

Renamed conv to tensor_conv

parent 9cbbe7b7
......@@ -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,
......
......@@ -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() (
......
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