Skip to content

Add batch support for resample #1390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2021

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 yong.tang.github@outlook.com

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 <yong.tang.github@outlook.com>
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 <yong.tang.github@outlook.com>
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