!46112 Fix FFTWithSize typo

Merge pull request !46112 from xiaohanzhang/master
This commit is contained in:
i-robot 2022-12-02 04:29:13 +00:00 committed by Gitee
commit 18c8b376c1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ mindspore.ops.FFTWithSize
异常:
- **TypeError** - 如果FFT/IFFT/IRFF的输入类型不是以下类型之一complex64、complex128。
- **TypeError** - 如果RFFT的输入类型不是以下类型之一float3、float64。
- **TypeError** - 如果RFFT的输入类型不是以下类型之一float32、float64。
- **TypeError** - 如果输入的类型不是Tensor。
- **ValueError** - 如果输入 `x` 的维度小于 `signal_ndim`
- **ValueError** - 如果 `signal_ndim` 大于3或小于1。

View File

@ -7166,7 +7166,7 @@ class FFTWithSize(Primitive):
ValueError: If norm is none of "backward", "forward" or "ortho".
Supported Platforms:
``GPU`` ``CPU``
``CPU``
Examples:
>>> # case FFT: signal_ndim: 1, inverse: False, real: False.