Skip to content
Snippets Groups Projects
Commit 3e041bf9 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed Pad op

parent 48ce14d2
No related branches found
No related tags found
1 merge request!11Removed padding from conv and pool and added Pad operator
This commit is part of merge request !11. Comments created here will be created in the context of that merge request.
......@@ -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");
......
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