Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export experimental APIs #27092

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 6 additions & 8 deletions tensorflow/lite/experimental/c/c_api_experimental.h
Expand Up @@ -34,21 +34,19 @@ TFL_CAPI_EXPORT extern TFL_Status TFL_InterpreterResetVariableTensors(
// caller should ensure that its contents (function pointers, etc...) remain
// valid for the duration of the interpreter's lifetime. A common practice is
// making the provided TFL_Registration instance static.
void TFL_InterpreterOptionsAddBuiltinOp(TFL_InterpreterOptions* options,
TFL_BuiltinOperator op,
const TFL_Registration* registration,
int min_version, int max_version);
TFL_CAPI_EXPORT void TFL_InterpreterOptionsAddBuiltinOp(
TFL_InterpreterOptions* options, TFL_BuiltinOperator op,
const TFL_Registration* registration, int min_version, int max_version);

// Adds an op registration for a custom operator.
//
// NOTE: The interpreter will make a copy of `registration` internally, so the
// caller should ensure that its contents (function pointers, etc...) remain
// valid for the duration of the interpreter's lifetime. A common practice is
// making the provided TFL_Registration instance static.
void TFL_InterpreterOptionsAddCustomOp(TFL_InterpreterOptions* options,
const char* name,
const TFL_Registration* registration,
int min_version, int max_version);
TFL_CAPI_EXPORT void TFL_InterpreterOptionsAddCustomOp(
TFL_InterpreterOptions* options, const char* name,
const TFL_Registration* registration, int min_version, int max_version);

#ifdef __cplusplus
} // extern "C"
Expand Down