mindspore.pytype_to_dtype ========================= .. py:method:: mindspore.pytype_to_dtype(obj) 将Python数据类型转换为MindSpore数据类型。 **参数:** - **obj** (type) – Python数据对象。 **返回:** MindSpore的数据类型。