Skip to content
This repository was archived by the owner on Jun 23, 2024. It is now read-only.

Commit 9a04e81

Browse files
committed
libtf: Header cleanup.
1 parent 1316e38 commit 9a04e81

File tree

6 files changed

+0
-36
lines changed

6 files changed

+0
-36
lines changed

libtf.h

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ typedef struct libtf_parameters {
3030
int output_zero_point;
3131
} libtf_parameters_t;
3232

33-
// Call this first to get the model parameters.
34-
// Returns 0 on success and 1 on failure.
35-
// Errors are printed to stdout.
36-
int libtf_get_parameters_minimal(const unsigned char *model_data, // TensorFlow Lite binary model (8-bit quant).
37-
unsigned char *tensor_arena, // As big as you can make it scratch buffer.
38-
size_t tensor_arena_size, // Size of the above scratch buffer.
39-
libtf_parameters_t *params); // Struct to hold model parameters.
40-
4133
// Call this first to get the model parameters.
4234
// Returns 0 on success and 1 on failure.
4335
// Errors are printed to stdout.
@@ -64,16 +56,6 @@ typedef void (*libtf_output_data_callback_t)(void *callback_data,
6456
void *model_output,
6557
libtf_parameters_t *params);
6658

67-
// Returns 0 on success and 1 on failure.
68-
// Errors are printed to stdout.
69-
int libtf_invoke_minimal(const unsigned char *model_data, // TensorFlow Lite binary model (8-bit quant).
70-
unsigned char *tensor_arena, // As big as you can make it scratch buffer.
71-
libtf_parameters_t *params, // Struct with model parameters.
72-
libtf_input_data_callback_t input_callback, // Callback to populate the model input data byte array.
73-
void *input_callback_data, // User data structure passed to input callback.
74-
libtf_output_data_callback_t output_callback, // Callback to use the model output data byte array.
75-
void *output_callback_data); // User data structure passed to output callback.
76-
7759
// Returns 0 on success and 1 on failure.
7860
// Errors are printed to stdout.
7961
int libtf_invoke_default(const unsigned char *model_data, // TensorFlow Lite binary model (8-bit quant).

libtf/cortex-m0plus/libtf.a

0 Bytes
Binary file not shown.

libtf/cortex-m4/libtf.a

0 Bytes
Binary file not shown.

libtf/cortex-m55/libtf.a

0 Bytes
Binary file not shown.

libtf/cortex-m7/libtf.a

0 Bytes
Binary file not shown.

libtf/libtf.h

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ typedef struct libtf_parameters {
3030
int output_zero_point;
3131
} libtf_parameters_t;
3232

33-
// Call this first to get the model parameters.
34-
// Returns 0 on success and 1 on failure.
35-
// Errors are printed to stdout.
36-
int libtf_get_parameters_minimal(const unsigned char *model_data, // TensorFlow Lite binary model (8-bit quant).
37-
unsigned char *tensor_arena, // As big as you can make it scratch buffer.
38-
size_t tensor_arena_size, // Size of the above scratch buffer.
39-
libtf_parameters_t *params); // Struct to hold model parameters.
40-
4133
// Call this first to get the model parameters.
4234
// Returns 0 on success and 1 on failure.
4335
// Errors are printed to stdout.
@@ -64,16 +56,6 @@ typedef void (*libtf_output_data_callback_t)(void *callback_data,
6456
void *model_output,
6557
libtf_parameters_t *params);
6658

67-
// Returns 0 on success and 1 on failure.
68-
// Errors are printed to stdout.
69-
int libtf_invoke_minimal(const unsigned char *model_data, // TensorFlow Lite binary model (8-bit quant).
70-
unsigned char *tensor_arena, // As big as you can make it scratch buffer.
71-
libtf_parameters_t *params, // Struct with model parameters.
72-
libtf_input_data_callback_t input_callback, // Callback to populate the model input data byte array.
73-
void *input_callback_data, // User data structure passed to input callback.
74-
libtf_output_data_callback_t output_callback, // Callback to use the model output data byte array.
75-
void *output_callback_data); // User data structure passed to output callback.
76-
7759
// Returns 0 on success and 1 on failure.
7860
// Errors are printed to stdout.
7961
int libtf_invoke_default(const unsigned char *model_data, // TensorFlow Lite binary model (8-bit quant).

0 commit comments

Comments
 (0)