Commit 4513f191 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Raise ValueError in tf.einsum() when passed unsupported input.

The case where an axis appears more than once for a single input
was listed in the docstring as unsupported, but the code didn't
raise an exception in this case, and instead returned an incorrect
result.

This change also fixes an unrelated bug in the docstring.

PiperOrigin-RevId: 217535799
parent 32d56d42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment