Sign in
opensecura
/
hw
/
matcha
/
706a90ba41b1e706bfbf736db9063a1a7dea2e9e
/
.
/
sw
/
device
/
tests
/
kelvin
/
hps-c-port
/
ml_input.h
blob: a169755d4ed351af6b6fb439ccdbf85bc85d94c8 [
file
] [
log
] [
blame
]
#ifndef
ML_INPUT_H_
#define
ML_INPUT_H_
#include
<stdint.h>
// Subtract 128 from the image [uint8_t] to match model input [int8_t].
void
ml_input
(
const
int
len
,
const
uint8_t
*
image
,
int8_t
*
input
);
#endif
// ML_INPUT_H_