Skip to content
Snippets Groups Projects
Commit 2b101ae8 authored by Maxence Naud's avatar Maxence Naud
Browse files

fix: 'Aidge::InterpolationCPU::interpolate': an explicit specialization or...

fix: 'Aidge::InterpolationCPU::interpolate': an explicit specialization or instantiation of a function template cannot have any default arguments
parent 2d7efcd3
No related branches found
No related tags found
2 merge requests!118v0.4.0,!104update Resize operator
Pipeline #60232 failed
...@@ -331,32 +331,32 @@ T InterpolationCPU::interpolate(const std::vector<float> &coordsToInterpolate, ...@@ -331,32 +331,32 @@ T InterpolationCPU::interpolate(const std::vector<float> &coordsToInterpolate,
template int8_t InterpolationCPU::interpolate<int8_t>( template int8_t InterpolationCPU::interpolate<int8_t>(
const std::vector<float> &originalCoords, const std::vector<float> &originalCoords,
const std::set<Point<int8_t>> &points, const std::set<Point<int8_t>> &points,
const Mode interpMode = Interpolation::Mode::Linear); const Mode interpMode);
template int16_t InterpolationCPU::interpolate<int16_t>( template int16_t InterpolationCPU::interpolate<int16_t>(
const std::vector<float> &originalCoords, const std::vector<float> &originalCoords,
const std::set<Point<int16_t>> &points, const std::set<Point<int16_t>> &points,
const Mode interpMode = Interpolation::Mode::Linear); const Mode interpMode);
template int32_t InterpolationCPU::interpolate<int32_t>( template int32_t InterpolationCPU::interpolate<int32_t>(
const std::vector<float> &originalCoords, const std::vector<float> &originalCoords,
const std::set<Point<int32_t>> &points, const std::set<Point<int32_t>> &points,
const Mode interpMode = Interpolation::Mode::Linear); const Mode interpMode);
template int64_t InterpolationCPU::interpolate<int64_t>( template int64_t InterpolationCPU::interpolate<int64_t>(
const std::vector<float> &originalCoords, const std::vector<float> &originalCoords,
const std::set<Point<int64_t>> &points, const std::set<Point<int64_t>> &points,
const Mode interpMode = Interpolation::Mode::Linear); const Mode interpMode);
template half_float::half InterpolationCPU::interpolate<half_float::half>( template half_float::half InterpolationCPU::interpolate<half_float::half>(
const std::vector<float> &originalCoords, const std::vector<float> &originalCoords,
const std::set<Point<half_float::half>> &points, const std::set<Point<half_float::half>> &points,
const Mode interpMode = Interpolation::Mode::Linear); const Mode interpMode);
template float InterpolationCPU::interpolate<float>( template float InterpolationCPU::interpolate<float>(
const std::vector<float> &originalCoords, const std::vector<float> &originalCoords,
const std::set<Point<float>> &points, const std::set<Point<float>> &points,
const Mode interpMode = Interpolation::Mode::Linear); const Mode interpMode);
template double InterpolationCPU::interpolate<double>( template double InterpolationCPU::interpolate<double>(
const std::vector<float> &originalCoords, const std::vector<float> &originalCoords,
const std::set<Point<double>> &points, const std::set<Point<double>> &points,
const Mode interpMode = Interpolation::Mode::Linear); const Mode interpMode);
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// INTERPOLATE LINEAR (& its associated recursive function) // INTERPOLATE LINEAR (& its associated recursive function)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment