When using TRT model for reasoning, how to convert kflot type into khalf type

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson)
**• DeepStream Version5.1
• JetPack Version (4.5)
**• TensorRT Version7
I made a change to example python deepstream-test3. I used TRT model to do reasoning,It is found that its input data type is kflot,

How can I convert the data type to khalf?


Please check if output-io-formats can meet your requirement or not.
For more details, please check below document: