Skip to content

Fix parsing of ZeroPadding layers

Javier Duarte requested to merge github/fork/vloncar/zeropad_convert_fix into master

Created by: vloncar

Description

Fixes parsing of ZeroPadding1D/2D layers. These layers expect the input height/width to be specified. When we insert these layers to support the "same" padding of Conv1D/2D layers we properly set these values, but when parsing a Keras model that has these layers we didn't do that

Type of change

  • Bug fix (non-breaking change that fixes an issue)

Tests

A test of ZeroPadding1D/2D layer functionality is included.

Merge request reports

Loading