upload code for tensor.rand (#23507)
* upload code for tensor.rand * fix import * update example, change paddle.tensor.rand to paddle.rand * change 'variable' to 'Variable', test=develop change 'variable' to 'Variable' in description, test=develop * add pre-commit check * add pre-commit check * pre-commit check, test=develop * add more unittest code * trigger ci, test=develop * pre-commit check, test=develop * update api and test comment, test=develop * update api and test comment, test=develop * add more type check, test=develop * add detail error info for device, test=develop * add unnittest, test=develop * resolve conflict and pre-commit check, test=develop
Showing
想要评论请 注册 或 登录