Created by: liym27
When attribute supports Tensor or list with Tensor, the data type of Tensor can be int32 or int64. Now it is compatible with int32 and int64.