[xdoctest][task 272-273,282-283] reformat example code with google style in`utils/*`, `tensor/*` (#56438) * [Doctest]fix No.272-273,282-283, test=docs_preview * fix number * fix numpy * fix xd style
拖放文件到此处或点击上传