tfio.audio.time_mask
Stay organized with collections
Save and categorize content based on your preferences.
Apply masking to a spectrogram in the time domain.
tfio.audio.time_mask(
input, param, name=None
)
Used in the notebooks
Args |
input
|
An audio spectogram.
|
param
|
Parameter of time masking.
|
name
|
A name for the operation (optional).
|
Returns |
A tensor of spectrogram.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-02-15 UTC.
[null,null,["Last updated 2022-02-15 UTC."],[],[],null,["# tfio.audio.time_mask\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/io/blob/v0.24.0/tensorflow_io/python/ops/audio_ops.py#L344-L366) |\n\nApply masking to a spectrogram in the time domain. \n\n tfio.audio.time_mask(\n input, param, name=None\n )\n\n### Used in the notebooks\n\n| Used in the tutorials |\n|--------------------------------------------------------------------------------------------|\n| - [Audio Data Preparation and Augmentation](https://www.tensorflow.org/io/tutorials/audio) |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|---------|--------------------------------------|\n| `input` | An audio spectogram. |\n| `param` | Parameter of time masking. |\n| `name` | A name for the operation (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A tensor of spectrogram. ||\n\n\u003cbr /\u003e"]]