Remove unused convolution ref impl argument.

This commit is contained in:
jdanieck 2021-01-19 19:13:07 +01:00
parent 09d0130bcb
commit 739065d0d0
2 changed files with 3 additions and 7 deletions

View File

@ -329,8 +329,7 @@ namespace ngraph
const Strides& strides,
const Strides& dilation,
const CoordinateDiff& pads_begin,
const CoordinateDiff& pads_end,
const Strides&)
const CoordinateDiff& pads_end)
{
const ConvolutionType type = [&]() {

View File

@ -90,8 +90,6 @@ namespace
const auto& out_shape = outputs[0]->get_shape();
const auto& in_shape = inputs[0]->get_shape();
const auto& filter_shape = inputs[1]->get_shape();
Strides in_dilation(std::vector<size_t>(in_shape.size() - 2));
std::fill(in_dilation.begin(), in_dilation.end(), 1);
runtime::reference::convolution<typename element_type_traits<ET>::value_type>(
in_data_ptr,
filter_data,
@ -102,8 +100,7 @@ namespace
op->get_strides(),
op->get_dilations(),
op->get_pads_begin(),
op->get_pads_end(),
in_dilation);
op->get_pads_end());
return true;
}