26 tflchef::ModelRecipe *model_recipe)
const
28 const auto &inputs = *op->inputs();
30 const tflite::Tensor *max_output_size_tensor =
import->tensors()->Get(inputs[2]);
31 assert(max_output_size_tensor->type() == tflite::TensorType::TensorType_INT32);
33 const tflite::Tensor *iou_threshold_tensor =
import->tensors()->Get(inputs[3]);
34 assert(iou_threshold_tensor->type() == tflite::TensorType::TensorType_FLOAT32);
36 const tflite::Tensor *score_threshold_tensor =
import->tensors()->Get(inputs[4]);
37 assert(score_threshold_tensor->type() == tflite::TensorType::TensorType_FLOAT32);
39 const tflite::Tensor *soft_nms_sigma_tensor =
import->tensors()->Get(inputs[5]);
40 assert(soft_nms_sigma_tensor->type() == tflite::TensorType::TensorType_FLOAT32);
42 for (int32_t index = 2; index < 6; ++index)
tflchef::Operation * chefop
const tflite::Operator * tflop