Release Notes

1.9.0 Release Notes

Major Features and Improvements

FrontEnd

  • [STABLE] Add the object-oriented and functional combination programming paradigm, add mixed-precision APIs for combination programming paradigms such as mindspore.amp.LossScaler, mindspore.amp.DynamicLossScaler, mindspore.amp.StaticLossScaler, mindspore.amp.auto_mixed_precision and mindspore.amp.all_finite.

API Change

operator

  • [STABLE] Add nn interface for nn.AdaptiveAvgPool3d.

  • [STABLE] Add functional interface for ops.adaptive_avg_pool3d.

  • [STABLE] Add functional interface for ops.addcdiv.

  • [STABLE] Add functional interface for ops.addcmul.

  • [STABLE] Add GPU and CPU support for ops.approximate_equal.

  • [STABLE] Add GPU support for ops.atanh.

  • [STABLE] Add GPU support for ops.bessel_i0.

  • [STABLE] Add Ascend support for ops.bessel_i0e.

  • [STABLE] Add GPU support for ops.bessel_i1.

  • [STABLE] Add Ascend and GPU support for ops.bessel_i1e.

  • [STABLE] Add GPU support for ops.bessel_j0.

  • [STABLE] Add GPU support for ops.bessel_j1.

  • [STABLE] Add GPU support for ops.bessel_k0.

  • [STABLE] Add GPU support for ops.bessel_k0e.

  • [STABLE] Add GPU support for ops.bessel_k1.

  • [STABLE] Add GPU support for ops.bessel_k1e.

  • [STABLE] Add GPU support for ops.bessel_y0.

  • [STABLE] Add GPU support for ops.bessel_y1.

  • [STABLE] Add functional interface for ops.bias_add.

  • [STABLE] Add GPU support for ops.bitwise_and.

  • [STABLE] Add GPU support for ops.bitwise_or.

  • [STABLE] Add GPU support for ops.bitwise_xor.

  • [STABLE] Add Ascend support for ops.grid_sample.

  • [STABLE] Add CPU support for ops.inplace_update.

  • [STABLE] Add Ascend and GPU support for ops.isclose.

  • [STABLE] Add Ascend support for ops.isnan.

  • [STABLE] Add GPU support for ops.lerp.

  • [STABLE] Add functional interface for ops.random_poisson.

  • [STABLE] Add functional interface for ops.reverse_sequence.

  • [STABLE] Add GPU support for ops.scatter_mul.

  • [STABLE] Add functional interface for ops.scatter_nd_max.

  • [STABLE] Add functional interface for ops.scatter_nd_min.

  • [STABLE] Add GPU support for ops.SparseToDense.

  • [STABLE] Add functional interface for ops.square.

  • [STABLE] Add GPU support for ops.standard_laplace.

  • [STABLE] Add functional interface for ops.std.

  • [STABLE] Add Ascend and GPU support for ops.trunc.

  • [STABLE] Add functional interface for ops.unsorted_segment_sum.

  • [STABLE] Add functional interface for ops.xdivy.

  • [STABLE] Add GPU support for ops.xlogy.

  • Deprecate ops.poisson and use ops.random_poisson instead.

  • Deprecate ops.SparseApplyAdagrad and use ops.SparseApplyAdagradV2 instead.

Bug fixes

  • [BUGFIX] The logic of the auto mixed precision (amp) O2 level is revised. In addition to the BatchNorm1d and BatchNorm2d operators, the other two operators BatchNorm3d and LayerNorm are added. The four operators still use the float32 data type when calculating.

  • [BUGFIX] Fix the problem that when processing string type data, if output_numpy=True is specified when calling the create_dict_iterator or create_tuple_iterator interface, the obtained data will be of type numpy.bytes_. After this fixing, these interfaces will directly return numpy.str_ type data, and users do not need to perform string decoding operations on it. Likewise, when performing user defined processing functions, the received data will also be of type numpy.str_ directly, matching the original source data type.

Contributors

Thanks goes to these wonderful people:

AGroupofProbiotocs, anzhengqi, askmiao, baihuawei, baiyangfan, bai-yangfan, bingyaweng, BowenK, buxue, caifubi, CaoJian, caojian05, caozhou, Cathy, changzherui, chenbo116, chenfei, chengxianbin, chenhaozhe, chenjianping, chenzomi, chenzupeng, chujinjin, cj, cjh9368, Corleone, damon0626, danish, Danish, davidmc, dayschan, doitH, dong-li001, fary86, fuzhiye, Gaoxiong, GAO_HYP_XYJ, gengdongjie, Gogery, gongdaguo, gray0v0, gukecai, guoqi, gzhcv, hangq, hanhuifeng2020, Harshvardhan, He, hesham, hexia, Hoai, HuangBingjian, huangdongrun, huanghui, huangxinjing, huqi, huzhifeng, hwjiaorui, Jiabin Liu, jianghui58, Jiaqi, jin-xiulang, jinyaohui, jjfeing, John, jonyguo, JulyAi, jzg, kai00, kingfo, kingxian, kpy, kswang, liuyongqi, laiyongqiang, leonwanghui, liangchenghui, liangzelang, lichen_101010, lichenever, lihongkang, lilei, limingqi107, ling, linqingke, Lin Xh, liubuyu, liuwenhao4, liuxiao78, liuxiao93, liuyang_655, liuzhongkai, liyanliu, lizhenyu, lvchangquan, lvliang, lz, maning202007, Margaret_wangrui, mengyuanli, Ming_blue, ms_yan, panfengfeng, panyifeng, Payne, peixu_ren, Pengyongrong, qianjiahong, r1chardf1d0, riemann_penn, rmdyh, Sheng, shenwei41, simson, Simson, Su, sunsuodong, tao_yunhao, tinazhang, VectorSL, Wan, wandongdong, wangdongxu, wangmin, wangyue01, wangzhe, wanyiming, Wei, wenchunjiang, wilfChen, WilliamLian, wsc, wudenggang, wukesong, wuweikang, Xiao Tianci, Xiaoda, xiefangqi, xinyunfan, xuanyue, xuyongfei, yanghaitao, yanghaoran, YangLuo, yangruoqi713, yankai, yanzhenxiang2020, yao_yf, yepei6, yeyunpeng, Yi, yoni, yoonlee666, yuchaojie, yujianfeng, yuximiao, zengzitao, Zhang, zhanghuiyao, zhanghui_china, zhangxinfeng3, zhangyihui, zhangz0911gm, zhanyuan, zhaojichen, zhaoting, zhaozhenlong, zhengjun10, zhiqwang, zhoufeng, zhousiyi, zhouyaqiang, zhouyifengCode, Zichun, Ziyan, zjun, ZPaC, wangfengwfwf, zymaa, gerayking, shu-kun-zhang.

Contributions of any kind are welcome!