Skip to content

Commit

Permalink
Remove deprecated convolution API. (openvinotoolkit#6732)
Browse files Browse the repository at this point in the history
* Remove deprectaed convolution API.

* Apply correct style.
  • Loading branch information
sdurawa authored and rnugmanx committed Aug 26, 2021
1 parent 81d1de0 commit c859284
Showing 1 changed file with 0 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,42 +291,6 @@ namespace ngraph
batch += batch_size;
}
}

// DEPRECATED, can't be removed currently due to kmb-plugin dependency (#47799)
template <typename INPUT,
typename FILTER,
typename OUTPUT,
typename ACCU = typename widen<OUTPUT>::type>
void convolution(const INPUT* in,
const FILTER* f,
OUTPUT* out,
const Shape& in_shape,
const Shape& f_shape,
const Shape& out_shape,
const Strides& strides,
const Strides& dilation,
const CoordinateDiff& pads_begin,
const CoordinateDiff& pads_end,
const Strides&)

{
static_assert(std::is_same<INPUT, FILTER>::value,
"input and filter types must be the same");
static_assert(std::is_same<INPUT, OUTPUT>::value,
"input and output types must be the same");

convolution(in,
f,
out,
in_shape,
f_shape,
out_shape,
strides,
dilation,
pads_begin,
pads_end);
}

} // namespace reference
} // namespace runtime
} // namespace ngraph
Expand Down

0 comments on commit c859284

Please sign in to comment.