Created by: GaoWei8
reorder_lod_tensor_by_rank 增强输入类型检查
reorder_lod_tensor_by_rank(x, rank_table)
Python接口Input类型检查
- 检查
x
- 检查类型是否为Variable
- 检查
rank_table
- 检查类型是否为Variable
- 检查数据类型是否为 "LOD_RANK_TABLE"
c++不合规报错检查增强:
- 增加报错信息 修改前报错:
Error: An error occurred here. There is no accurate error hint for this error yet.
修改后报错:
OutOfRange:The value of rank_table is out of range.