mindspore.get_py_obj_dtype =========================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/master/docs/api/api_python/mindspore/mindspore.get_py_obj_dtype.rst :alt: 查看源文件 .. py:function:: mindspore.get_py_obj_dtype(obj) 获取与Python数据类型对应的MindSpore数据类型。 参数: - **obj** (type) - Python数据对象,或在Python环境中定义的变量。 返回: MindSpore的数据类型。