#include <TopKV2.h>
Definition at line 22 of file TopKV2.h.
◆ TopKV2Chef()
TopKV2Chef::TopKV2Chef |
( |
const tflchef::Operation * |
operation | ) |
|
|
inlineexplicit |
Definition at line 25 of file TopKV2.h.
25 : _operation{operation}
26 {
27
28 }
◆ code()
tflite::BuiltinOperator TopKV2Chef::code |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Implements OpChef.
Definition at line 31 of file TopKV2.h.
31{ return tflite::BuiltinOperator_TOPK_V2; }
◆ type()
tflite::BuiltinOptions TopKV2Chef::type |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Implements OpChef.
Definition at line 33 of file TopKV2.h.
33{ return tflite::BuiltinOptions_TopKV2Options; }
◆ value()
Implements OpChef.
Definition at line 19 of file TopKV2.cpp.
20{
21 tflite::TopKV2OptionsBuilder options_builder{fbb};
22
23 return options_builder.
Finish().Union();
24}
void Finish(Offset< T > root, const char *file_identifier=nullptr)
Finish serializing a buffer by writing the root offset.
References flatbuffers::FlatBufferBuilder::Finish().
The documentation for this class was generated from the following files: