Commit a0745a7c authored by Thomas Lee's avatar Thomas Lee Committed by GitHub
Browse files

Fix an error message.

Minimum tensor rank should be (dim + 1) instead of (dim).

Example:
    tf.argmin(x, 1)  # x is a 1-d vector.
before:
    "InvalidArgumentError: Minimum tensor rank: 1 but got: 1"
after:
    "InvalidArgumentError: Minimum tensor rank: 2 but got: 1"
parent 4fb28d65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment