tf.errors.InvalidArgumentError

Raised when an operation receives an invalid argument.

Inherits From: OpError

This error is typically raised when an op receives mismatched arguments.

Example:

tf.reshape([1, 2, 3], (2,))
Traceback (most recent call last):

InvalidArgumentError: ...