[Cherry-Pick 2.0][setitem] Support Tensor setitem in static mode (#29708) (#30104)
1. Type of index: int, slice(step must be 1). 2. Type of value: (1) int32, int64, float32, bool; (2) numpy.array(int32, int64, float32, bool);<Note: float64 is not supported> (3) paddle.Tensor(int32, int64, float32, float64, bool);
Showing
想要评论请 注册 或 登录