Skip to content
Snippets Groups Projects

Removed padding from conv and pool and added Pad operator

Merged Olivier BICHLER requested to merge padding into main
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -215,7 +215,7 @@ template <DimSize_t DIM>
inline std::shared_ptr<Node> Pad(
std::array<DimSize_t, 2> const (&beginEndTuples)[DIM],
const std::string& name = "",
const std::array<DimSize_t, DIM> &type = PadParamType::Constant,
const PadParamType &type = PadParamType::Constant,
double value = 0.0)
{
static_assert(DIM<=MaxDim,"Too many kernel dimensions required by Pad, not supported");
Loading