[SOLVED]How to convert DLTensor from float32 to float16 in c++

As title, How to convert DLTensor from float32 to float16 in c++?
I have alloc an TVMArray with TVMArrayAlloc, and I am confused with converting it from float32 to float16

Problem have been solved.

Could you share the solution? This might help others. Thanks

Can u share how did u solved it?