!46210 modify the format of files in alpha
Merge pull request !46210 from 宦晓玲/code_docs_1129al
This commit is contained in:
commit
5538b1ea1f
|
@ -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。
|
|
@ -1,6 +1,6 @@
|
|||
mindspore.Tensor.hypot
|
||||
======================
|
||||
|
||||
.. py:method:: mindspore.Tensor.hypot(other):
|
||||
.. py:method:: mindspore.Tensor.hypot(other)
|
||||
|
||||
详情请参考 :func:`mindspore.ops.hypot`。
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
mindspore.ops.EuclideanNorm
|
||||
============================
|
||||
|
||||
.. py:class:: mindspore.ops.EuclideanNorm(keep_dims=False):
|
||||
.. py:class:: mindspore.ops.EuclideanNorm(keep_dims=False)
|
||||
|
||||
计算Tensor维度上元素的欧几里得范数,根据给定的轴对输入进行规约操作。
|
||||
|
||||
|
|
|
@ -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``
|
||||
|
||||
|
|
Loading…
Reference in New Issue