Watch keynotes, product sessions, workshops, and more from Google I/O See playlist

tfio.audio.trim

Trim the noise from beginning and end of the audio.

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, ...].