From 71f3f0b13679c58d021fbd1550ab5ef059757c15 Mon Sep 17 00:00:00 2001 From: luojianing Date: Fri, 28 Oct 2022 14:51:23 +0800 Subject: [PATCH] update 1.9 release notes --- RELEASE.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ RELEASE_CN.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/RELEASE.md b/RELEASE.md index 8a17d7b3a08..2d2c97c48cf 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -10,6 +10,53 @@ - [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. diff --git a/RELEASE_CN.md b/RELEASE_CN.md index 9ce739a1bf5..e89f8a81668 100644 --- a/RELEASE_CN.md +++ b/RELEASE_CN.md @@ -10,6 +10,53 @@ - [STABLE] 新增面向对象+函数式融合编程范式,提供 `mindspore.amp.LossScaler` 、 `mindspore.amp.DynamicLossScaler` 、 `mindspore.amp.StaticLossScaler` 、 `mindspore.amp.auto_mixed_precision` 、 `mindspore.amp.all_finite` 等融合编程范式下的混合精度接口。 +### API变更 + +#### 算子 + +- [STABLE] `nn.AdaptiveAvgPool3d` 新增nn接口。 +- [STABLE] `ops.adaptive_avg_pool3d` 新增functional接口。 +- [STABLE] `ops.addcdiv` 新增functional接口。 +- [STABLE] `ops.addcmul` 新增functional接口。 +- [STABLE] `ops.approximate_equal` 新增GPU、CPU支持。 +- [STABLE] `ops.atanh` 新增GPU支持。 +- [STABLE] `ops.bessel_i0` 新增GPU支持。 +- [STABLE] `ops.bessel_i0e` 新增Ascend支持。 +- [STABLE] `ops.bessel_i1` 新增GPU支持。 +- [STABLE] `ops.bessel_i1e` 新增Ascend、GPU支持。 +- [STABLE] `ops.bessel_j0` 新增GPU支持。 +- [STABLE] `ops.bessel_j1` 新增GPU支持。 +- [STABLE] `ops.bessel_k0` 新增GPU支持。 +- [STABLE] `ops.bessel_k0e` 新增GPU支持。 +- [STABLE] `ops.bessel_k1` 新增GPU支持。 +- [STABLE] `ops.bessel_k1e` 新增GPU支持。 +- [STABLE] `ops.bessel_y0` 新增GPU支持。 +- [STABLE] `ops.bessel_y1` 新增GPU支持。 +- [STABLE] `ops.bias_add` 新增functional接口。 +- [STABLE] `ops.bitwise_and` 新增GPU支持。 +- [STABLE] `ops.bitwise_or` 新增GPU支持。 +- [STABLE] `ops.bitwise_xor` 新增GPU支持。 +- [STABLE] `ops.grid_sample` 新增Ascend支持。 +- [STABLE] `ops.inplace_update` 新增CPU支持。 +- [STABLE] `ops.isclose` 新增Ascend、GPU支持。 +- [STABLE] `ops.isnan` 新增Ascend支持。 +- [STABLE] `ops.lerp` 新增GPU支持。 +- [STABLE] `ops.random_poisson` 新增functional接口。 +- [STABLE] `ops.reverse_sequence` 新增functional接口。 +- [STABLE] `ops.scatter_mul` 新增GPU支持。 +- [STABLE] `ops.scatter_nd_max` 新增functional接口。 +- [STABLE] `ops.scatter_nd_min` 新增functional接口。 +- [STABLE] `ops.SparseToDense` 新增GPU支持。 +- [STABLE] `ops.square` 新增functional接口。 +- [STABLE] `ops.standard_laplace` 新增GPU支持。 +- [STABLE] `ops.std` 新增functional接口。 +- [STABLE] `ops.trunc` 新增Ascend、GPU支持。 +- [STABLE] `ops.unsorted_segment_sum` 新增functional接口。 +- [STABLE] `ops.xdivy` 新增functional接口。 +- [STABLE] `ops.xlogy` 新增GPU支持。 +- `ops.poisson` 接口废弃使用,对应新接口为 `ops.random_poisson` 。 +- `ops.SparseApplyAdagrad` 接口废弃使用,可使用 `ops.SparseApplyAdagradV2` 接口替代。 + ### Bug fixes - [BUGFIX] 修改混合精度O2 level的判断逻辑,在原来屏蔽 `BatchNorm1d` 、 `BatchNorm2d` 算子的基础上,添加另外两个屏蔽算子`BatchNorm3d`和`LayerNorm`,这4个算子依然用float32数据类型计算。