@@ -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.
7961int libtf_invoke_default (const unsigned char * model_data , // TensorFlow Lite binary model (8-bit quant).
0 commit comments