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