#include <Square.h>
Definition at line 22 of file Square.h.
◆ SquareChef()
SquareChef::SquareChef |
( |
const tflchef::Operation * |
operation | ) |
|
|
inlineexplicit |
Definition at line 25 of file Square.h.
25 : _operation{operation}
26 {
27
28 }
◆ code()
tflite::BuiltinOperator SquareChef::code |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Implements OpChef.
Definition at line 31 of file Square.h.
31{ return tflite::BuiltinOperator_SQUARE; }
◆ type()
tflite::BuiltinOptions SquareChef::type |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Implements OpChef.
Definition at line 33 of file Square.h.
33{ return tflite::BuiltinOptions_SquareOptions; }
◆ value()
Implements OpChef.
Definition at line 19 of file Square.cpp.
20{
21 tflite::SquareOptionsBuilder 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: