how to inference batch normalization layer in training is True

to convert from trt engine from tensorflow pb graph
occur volume of dimensions is not consistent with weights size error
because training parameter of batch normalization is True,
all given solution is change True to False but i need to inference that parameter maintain True,
so how to do this

Hi,

The training parameter (true) of batch normalization is not supported in TRT since it is just meant for inference.

Thanks