Commit 2b95f70b authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Show an error message in _einsum_reduction ValueError.

If `tf.einsum()` is called and the length of the axis labels do not match the
rank of the tensor, the ValueError now states what the problem is, which tensor
is causing it, and what the rank and length of the labels are.

RELNOTES: n/a
PiperOrigin-RevId: 173446812
parent b81c8eda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment