View source on GitHub
|
Raised when an operation receives an invalid argument.
Inherits From: OpError
tf.errors.InvalidArgumentError(
node_def, op, message, *args
)
This error is typically raised when an op receives mismatched arguments.
Example:
tf.reshape([1, 2, 3], (2,))Traceback (most recent call last):InvalidArgumentError: ...
Attributes |
|---|
error_code
experimental_payloads
message
node_def
NodeDef proto representing the op that failed.
op
View source on GitHub