aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/batching
diff options
context:
space:
mode:
authorGravatar Alexandre Passos <apassos@google.com>2017-08-08 16:15:16 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-08-08 16:21:11 -0700
commit8d23b781c8e071f450a09f60ae2de7b2351a33cb (patch)
treee14be33dc24b036b53e87cc7b8436d8d5b5c69f9 /tensorflow/contrib/batching
parent4c60c96257bfd54a036d15af979e90fc0b4e400d (diff)
Unique names in the batch_function decorator.
PiperOrigin-RevId: 164659904
Diffstat (limited to 'tensorflow/contrib/batching')
-rw-r--r--tensorflow/contrib/batching/python/ops/batch_ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/batching/python/ops/batch_ops.py b/tensorflow/contrib/batching/python/ops/batch_ops.py
index 867ee6dfbc..bec4b98cc2 100644
--- a/tensorflow/contrib/batching/python/ops/batch_ops.py
+++ b/tensorflow/contrib/batching/python/ops/batch_ops.py
@@ -129,7 +129,7 @@ def batch_function(num_batch_threads, max_batch_size, batch_timeout_micros,
unbatched = [
gen_batch_ops.unbatch(t, batch_index, id_t,
timeout_micros=unbatch_timeout_micros,
- shared_name=unbatch_name)
+ shared_name=unbatch_name + "/" + t.name)
for t in outputs_list]
if isinstance(outputs, ops.Tensor):
return unbatched[0]