Commit 35535e63 authored by Eugene Brevdo's avatar Eugene Brevdo Committed by TensorFlower Gardener
Browse files

[tf.contrib.lookup] Clean up shape inference for lookup ops.

More of the shape inference can be done in C++-land, which may help grappler
do its thing.  Also fix a bug where keys.dim_size(0) was being requested even
when keys.dims() == 0
[this should probably lead to DCHECK failure, but doesn't seem to].

PiperOrigin-RevId: 208529368
parent 959f0755
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment