!46210 modify the format of files in alpha

Merge pull request !46210 from 宦晓玲/code_docs_1129al
This commit is contained in:
i-robot 2022-11-30 02:38:38 +00:00 committed by Gitee
commit 5538b1ea1f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 17 additions and 4 deletions

View File

@ -0,0 +1,15 @@
此模块用于音频数据增强,包括 `transforms``utils` 两个子模块。
`transforms` 是一个高性能音频数据增强模块,支持常见的音频数据增强操作。
`utils` 提供了一些音频处理的工具方法。
API样例中常用的导入模块如下
.. code-block::
import mindspore.dataset as ds
import mindspore.dataset.audio as audio
常用数据处理术语说明如下:
- TensorOperation所有C++实现的数据处理操作的基类。
- AudioTensorOperation所有音频数据处理操作的基类派生自TensorOperation。

View File

@ -1,6 +1,6 @@
mindspore.Tensor.hypot
======================
.. py:method:: mindspore.Tensor.hypot(other):
.. py:method:: mindspore.Tensor.hypot(other)
详情请参考 :func:`mindspore.ops.hypot`

View File

@ -1,7 +1,7 @@
mindspore.ops.EuclideanNorm
============================
.. py:class:: mindspore.ops.EuclideanNorm(keep_dims=False):
.. py:class:: mindspore.ops.EuclideanNorm(keep_dims=False)
计算Tensor维度上元素的欧几里得范数根据给定的轴对输入进行规约操作。

View File

@ -758,7 +758,6 @@ class ResizeBicubic(Primitive):
half_pixel_centers (bool, optional): Whether to use half-pixel center alignment. If set to True,
`align_corners` should be False. Default: False.
Inputs:
- **images** (Tensor) - The input image must be a 4-D tensor of shape :math:`(batch, height, width, channels)`.
The format must be NHWC.
@ -780,7 +779,6 @@ class ResizeBicubic(Primitive):
ValueError: If any `size` value is not positive.
ValueError: If `align_corners` and `half_pixel_centers` value are both True.
Supported Platforms:
``Ascend`` ``CPU`` ``GPU``