Commit 665b9c95 authored by tsocha's avatar tsocha Committed by Scott Cyphers

[ONNX] Add valid padding support (#2628)

parent 80b4b1da
......@@ -93,6 +93,10 @@ namespace ngraph
const Strides& strides,
const std::string& auto_pad)
{
if (auto_pad == "VALID")
{
return CoordinateDiff(input_shape.size());
}
CoordinateDiff pads_begin;
CoordinateDiff pads_end;
// Omit {N,C} axes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment