fix the bug that tensor type float is called float32 instead of float
mtrofin is going to fix in a different way.