Skip to content

Instantly share code, notes, and snippets.

@iCorv
Created October 3, 2021 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iCorv/28dc8b5520a33136a8b4d02edf6807e3 to your computer and use it in GitHub Desktop.
Save iCorv/28dc8b5520a33136a8b4d02edf6807e3 to your computer and use it in GitHub Desktop.
Map soxbindings effect with tf.data
sox_dataset = dataset.map(
lambda speech: tf.py_function(
get_sox_effect('reverb', {}),
[speech],
tf.float32)
# num_parallel_calls=AUTOTUNE
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment