Custom ops
#include "max/c/custom_ops.h"
Functions
M_useKernelsFrom()
void M_useKernelsFrom(M_CompileConfig *compileConfig, const char *path, M_Status *status)
Replaces Modular Kernels with user defined kernels.
You must call this before you call M_compileModel()
.
Parameters:
- compileConfig – The compilation configuration for your model, from
M_newCompileConfig()
. - path – The path to your custom op kernel.
- status – The status used to report errors in the case of failures.
- compileConfig – The compilation configuration for your model, from