Overview

Base class of custom operators, which is used to implement custom operations in eager execution mode. This mode is typically used in deep learning frameworks and allows operations to be executed directly without building a complete computational graph, providing a more intuitive and flexible debugging experience.

Header File to Be Included

1
#include <graph/custom_op.h>

Public Member Functions

virtual graphStatus Execute(gert::EagerOpExecutionContext *ctx) = 0