diff --git a/paddle/fluid/API.spec b/paddle/fluid/API.spec index 4b58c2cb06e202363dd36fb6c3d38c9b4695b964..8a2e65922a114c0f4ab8515ccdaf0d2efef95602 100644 --- a/paddle/fluid/API.spec +++ b/paddle/fluid/API.spec @@ -21,7 +21,3 @@ paddle.audio.functional.functional.mel_frequencies (ArgSpec(args=['n_mels', 'f_m paddle.audio.functional.functional.mel_to_hz (ArgSpec(args=['mel', 'htk'], varargs=None, varkw=None, defaults=(False,), kwonlyargs=[], kwonlydefaults=None, annotations={'return': typing.Union[float, paddle.Tensor], 'mel': typing.Union[float, paddle.Tensor], 'htk': }), ('document', 'e93b432d382f98c60d7c7599489e7072')) paddle.audio.functional.functional.power_to_db (ArgSpec(args=['spect', 'ref_value', 'amin', 'top_db'], varargs=None, varkw=None, defaults=(1.0, 1e-10, 80.0), kwonlyargs=[], kwonlydefaults=None, annotations={'return': , 'spect': , 'ref_value': , 'amin': , 'top_db': typing.Union[float, NoneType]}), ('document', '28bbb1973e8399e856bfaea0415cecb9')) paddle.audio.functional.window.get_window (ArgSpec(args=['window', 'win_length', 'fftbins', 'dtype'], varargs=None, varkw=None, defaults=(True, 'float64'), kwonlyargs=[], kwonlydefaults=None, annotations={'return': , 'window': typing.Union[str, typing.Tuple[str, float]], 'win_length': , 'fftbins': , 'dtype': }), ('document', '2418d63da10c0cd5da9ecf0a88ddf783')) -paddle.audio.utils (ArgSpec(), ('document', 'd41d8cd98f00b204e9800998ecf8427e')) -paddle.audio.utils.error.ParameterError (ArgSpec(), ('document', 'e12783df4d137af121ebadceb389bf7a')) -paddle.audio.utils.error.ParameterError.args (ArgSpec(), ('document', 'd41d8cd98f00b204e9800998ecf8427e')) -paddle.audio.utils.error.ParameterError.with_traceback (ArgSpec(), ('document', '3f2d1353ad5034ed0f4628f2c9f066cc')) diff --git a/python/paddle/audio/__init__.py b/python/paddle/audio/__init__.py index e76a80300f5e61706374423f7f2b11265b1b2dd9..aaf11b5b2c131efaea790d837a3d44df10d3b40c 100644 --- a/python/paddle/audio/__init__.py +++ b/python/paddle/audio/__init__.py @@ -14,6 +14,5 @@ from . import features from . import functional -from . import utils -__all__ = ["functional", "features", "utils"] +__all__ = ["functional", "features"] diff --git a/python/paddle/audio/utils/__init__.py b/python/paddle/audio/utils/__init__.py index b3502b76cce25ceeb45be21de76803d23f71e87f..55a55c3ed0a84b608ba5c9f1830713b4faaed250 100644 --- a/python/paddle/audio/utils/__init__.py +++ b/python/paddle/audio/utils/__init__.py @@ -11,4 +11,3 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -from .error import ParameterError diff --git a/python/setup.py.in b/python/setup.py.in index b101c5e1d6c0d3518b626af793a160e2e38489f3..14ebb8749baa68522712787727cdd16393f945cf 100755 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -372,7 +372,6 @@ packages=['paddle', 'paddle.audio', 'paddle.audio.functional', 'paddle.audio.features', - 'paddle.audio.utils', 'paddle.text', 'paddle.text.datasets', 'paddle.incubate',