aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorGravatar William Chargin <wchargin@google.com>2017-08-09 17:40:34 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-08-09 17:44:20 -0700
commit22730fd4c633a74e59c03ff76dc92e6ae2d5d020 (patch)
tree1f735d494c8773573a0689486ba12192ac4c86ed /WORKSPACE
parent65692e13fb11ae88d969d2993e899e0244a733da (diff)
Allow ffmpeg `samples_per_second` to be a Tensor
This changes the `samples_per_second` parameter of the `encode_audio` and `decode_audio` ops from an `Attr` to an `Input`, so that it can be given arbitrary tensor values instead of only constants. This change is important for use cases that want to use a single graph to encode audio clips at arbitrary sample rates. (In particular, we want to create a Python function that uses a long-running TensorFlow session to encode audio; the sample rate cannot be known ahead of time, and we don't want to have to reconstruct the graph on every call.) PiperOrigin-RevId: 164799067
Diffstat (limited to 'WORKSPACE')
0 files changed, 0 insertions, 0 deletions