24 auto &operation = (*_operation);
26 assert(operation.has_pack_options());
28 tflite::PackOptionsBuilder pack_options_builder{fbb};
29 pack_options_builder.add_values_count(operation.pack_options().values_count());
30 pack_options_builder.add_axis(operation.pack_options().axis());
32 return pack_options_builder.
Finish().Union();
37 return std::unique_ptr<OpChef>{
new PackChef{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