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
Hi
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?

Hi,

Please check if output-io-formats can meet your requirement or not.
For more details, please check below document:
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvinfer.html#gst-nvinfer-file-configuration-specifications

Thanks.