enum dnnl::graph::status

Overview

Status values returned by the library functions. More…

#include <dnnl_graph.hpp>

enum status
{
    success           = dnnl_success,
    out_of_memory     = dnnl_out_of_memory,
    invalid_arguments = dnnl_invalid_arguments,
    unimplemented     = dnnl_unimplemented,
    last_impl_reached = dnnl_last_impl_reached,
    runtime_error     = dnnl_runtime_error,
    not_required      = dnnl_not_required,
    invalid_graph     = dnnl_invalid_graph,
    invalid_graph_op  = dnnl_invalid_graph_op,
    invalid_shape     = dnnl_invalid_shape,
    invalid_data_type = dnnl_invalid_data_type,
};

Detailed Documentation

Status values returned by the library functions.

Enum Values

success

The operation was successful.

out_of_memory

The operation failed due to an out-of-memory condition.

invalid_arguments

The operation failed because of incorrect function arguments.

unimplemented

The operation failed because requested functionality is not implemented.

last_impl_reached

The last available implementation is reached.

runtime_error

Primitive or engine failed on execution.

not_required

Queried element is not required for given primitive.

invalid_graph

The graph is not legitimate.

invalid_graph_op

The operation is not legitimate according to op schema.

invalid_shape

The shape cannot be inferred or compiled.

invalid_data_type

The data type cannot be inferred or compiled.