tfio.audio.trim

Trim the noise from beginning and end of the audio.

Used in the notebooks

Used in the tutorials

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).

A tensor of start and stop with shape [..., 2, ...].