View source on GitHub |
Trim the noise from beginning and end of the audio.
tfio.audio.trim(
input, axis, epsilon, name=None
)
Used in the notebooks
Used in the tutorials |
---|
Args | |
---|---|
input
|
An audio Tensor. |
axis
|
The axis to trim. |
epsilon
|
The max value to be considered as noise. |
name
|
A name for the operation (optional). |
Returns | |
---|---|
A tensor of start and stop with shape [..., 2, ...] .
|