Skip to content

Conversation

@yongtang
Copy link
Member

@yongtang yongtang commented May 1, 2021

This PR adds batch support for resample so that
it is possible to pass 3D input of [batch, sample, channel]
shape for tfio.audio.resample.

The implementation is done through tf.vectorized_map

This PR fixes #1366.

Signed-off-by: Yong Tang [email protected]

This PR adds batch support for resample so that
it is possible to pass 3D input of `[batch, sample, channel]`
shape for tfio.audio.resample.

The implementation is done through `tf.vectorized_map`

This PR fixes 1366.

Signed-off-by: Yong Tang <[email protected]>
Copy link
Member

@kvignesh1420 kvignesh1420 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @yongtang

@kvignesh1420 kvignesh1420 merged commit ae565fc into tensorflow:master May 2, 2021
@yongtang yongtang deleted the 1366-batch-resample branch May 2, 2021 15:13
yongtang added a commit to yongtang/io that referenced this pull request May 8, 2021
This PR adds batch support for resample so that
it is possible to pass 3D input of `[batch, sample, channel]`
shape for tfio.audio.resample.

The implementation is done through `tf.vectorized_map`

This PR fixes 1366.

Signed-off-by: Yong Tang <[email protected]>
zheolong pushed a commit to zheolong/io-1 that referenced this pull request Jul 24, 2025
This PR adds batch support for resample so that
it is possible to pass 3D input of `[batch, sample, channel]`
shape for tfio.audio.resample.

The implementation is done through `tf.vectorized_map`

This PR fixes 1366.

Signed-off-by: Yong Tang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add batch support to audio resample

2 participants