25 tflchef::ModelRecipe *model_recipe)
const
28 assert(inputs.size() == 5);
31 const bool hasBias = (inputs.at(3) >= 0);
34 import->set_tensor_filler(inputs.at(1));
35 import->set_tensor_filler(inputs.at(2));
37 import->set_tensor_filler(inputs.at(3));
42 tflchef::Operation *operation = ctx->
chefop;
43 const tflite::Operator *op = ctx->
tflop;
45 const auto op_params = op->builtin_options_as_SVDFOptions();
46 assert(op_params !=
nullptr);
48 operation->set_type(
"SVDF");
50 auto op_options = operation->mutable_svdf_options();
53 op_options->set_asymmetric_quantize_inputs(op_params->asymmetric_quantize_inputs());
54 op_options->set_rank(op_params->rank());
tflchef::Operation * chefop
const tflite::Operator * tflop