tf.OpError.__init__(node_def, op, message, error_code)
Creates a new OpError indicating that a particular op failed.
Args:
-
node_def: Thenode_def_pb2.NodeDefproto representing the op that failed, if known; otherwise None. -
op: Theops.Operationthat failed, if known; otherwise None. -
message: The message string describing the failure. -
error_code: Theerror_codes_pb2.Codedescribing the error.
Please login to continue.