The conversion of the second-order(third-order) force constants about tdep format

How to convert the second-order(third-order) force constants from tdep format to shengbte format. Thanks!

I am not familar with the TDEP format.
hiphive does not have functionality to do that conversion.