25 tflchef::ModelRecipe *model_recipe)
const
28 const auto &inputs = *op->inputs();
30 const tflite::Tensor *tensor =
import->tensors()->Get(inputs[1]);
31 assert(tensor->type() == tflite::TensorType::TensorType_INT32 ||
32 tensor->type() == tflite::TensorType::TensorType_INT64);
33 const tflite::Buffer *buffer =
import->buffers()->Get(tensor->buffer());
34 auto vec = extract_buffer<int32_t>(buffer);
35 import->set_tensor_filler(inputs[1], vec);
tflchef::Operation * chefop
const tflite::Operator * tflop