PluginFormat has to be kNCHW?

My Tensorflow model is shown as in the link https://www.dropbox.com/s/nxz1j8vh56uezh9/plugin.png?dl=0.

So the model needs NHWC format for input and processing.

Upsample operation needs to create plugin.

If plugin format is set to PluginFormat::kNHWC, can’t compile and have error.

So plugin format needs to be in PluginFormat::kNCHW.

How can I create plugin for my Tensorflow model?