Overview

Registers the operator InferFormat function. This API is referenced by other header files and is not directly called by operator developers.

Header Files to Be Included

1
#include <graph/operator_factory.h>

Public Member Functions

InferFormatFuncRegister(const std::string &operator_type, const InferFormatFunc &infer_format_func)
InferFormatFuncRegister(const char_t *const operator_type, const InferFormatFunc &infer_format_func)
~InferFormatFuncRegister() = default