24 auto &operation = (*_operation);
26 assert(operation.has_concatenation_options());
28 auto options = operation.concatenation_options();
32 tflite::ConcatenationOptionsBuilder options_builder{fbb};
34 options_builder.add_axis(options.axis());
35 options_builder.add_fused_activation_function(tflite_activation);
37 return options_builder.
Finish().Union();
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::ActivationFunctionType as_tflite_activation(const tflchef::Activation &value)