Struct owlyshield_ransom::predictions::prediction_malware::TfLiteMalware [−][src]
Expand description
A record to describe a tflite model
Fields
model: Model
means: Vec<f32>
Needed by Standard Scaling and set to MEANS
stdvs: Vec<f32>
Needed by Standard Scaling and set to STDVS
Implementations
Make a prediction on the sequence predmtrx. The prediction can be costly. The model input tensor dimensions are (None, PREDMTRXCOLS) and is dimensioned accordingly by the InterpreterBuilder. The model returns only the last prediction (it does not returns sequences).