Support int32 int64 and fix bug (#24407)
* Compatible int32 and int64 for attr in op slice/strided_slice. test=develop * Polish code in nn.py test=develop * Fix bug: set the same dtype for the inputs of elementwise_add. test=develop * Convert int32 to int64 in slice op to avoid data overflow. test=develop * Convert int32 to int64 in strided_slice_op to avoid data overflow. test=develop
Showing
想要评论请 注册 或 登录