enum dnnl::graph::partition::policy

Overview

Policy specifications for partitioning. More…

#include <dnnl_graph.hpp>

enum policy
{
    fusion = dnnl_graph_partition_policy_fusion,
    debug  = dnnl_graph_partition_policy_debug,
};

Detailed Documentation

Policy specifications for partitioning.

Enum Values

fusion

Fusion policy returns partitions with typical post-op fusions, eg.

Convolution + ReLU or other element-wise operations or a chian of post-ops.

debug

Debug policy doesn’t not apply any fusions.

It returns partitions with single operations in each partition. The policy is useful when users notice any bug or correctness issue in fusion policy.