Fixed deleting Transpose layers after and before Interpolate layers. (#1071)
authorVladimir Gavrilov <vladimir.gavrilov@intel.com>
Mon, 29 Jun 2020 09:49:29 +0000 (12:49 +0300)
committerGitHub <noreply@github.com>
Mon, 29 Jun 2020 09:49:29 +0000 (12:49 +0300)
commitb9d67927fd797975373cbfabbfe3d616f138b387
treea34aba34708034c8489ae8f1ce9c7c605e7579ea
parent182499c006dc1f16cfcca516910e92a09c2bb063
Fixed deleting Transpose layers after and before Interpolate layers. (#1071)

* Fixed deleting Transpose layers after and before Interpolate layers.

* Added run_after() for the transformation InterpolateTranspose.

* Some checks were moved from the replacement function to the pattern.

* Added a check of the attribute 'axes' into the pattern.
model-optimizer/extensions/front/tf/InterpolateTransposes.py