24 auto &operation = (*_operation);
26 assert(operation.has_unique_options());
30 tflite::UniqueOptionsBuilder unique_options_builder{fbb};
31 unique_options_builder.add_idx_out_type(tflite_out_idx);
33 return unique_options_builder.
Finish().Union();
38 return std::unique_ptr<OpChef>{
new UniqueChef{operation}};
flatbuffers::Offset< void > value(flatbuffers::FlatBufferBuilder &fbb) const override
Helper class to hold data needed in creation of a FlatBuffer. To serialize data, you typically call o...
void Finish(Offset< T > root, const char *file_identifier=nullptr)
Finish serializing a buffer by writing the root offset.
std::unique_ptr< OpChef > create(const tflchef::Operation *operation) const override
tflite::TensorType as_tflite_tensortype(const tflchef::TensorType &value)