numpy.ufunc.identity# attribute ufunc.identity# 单位值. 包含 ufunc 恒等元素的数据属性(如果存在).如果不存在,则属性值为 None. 示例 Try it in your browser! >>> import numpy as np >>> np.add.identity 0 >>> np.multiply.identity 1 >>> print(np.power.identity) None >>> print(np.exp.identity) None Go BackOpen In Tab