Serializer supports new pad api (#2739)
Serializer supports new pad api (#2739)

* Serializer supports new pad api

* Addressed reviewer comment

* Fixed compiler warning

NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph