17#ifndef __OP_MATRIX_DIAG_H__
18#define __OP_MATRIX_DIAG_H__
25 explicit MatrixDiagChef(
const tflchef::Operation *operation) : _operation{operation}
31 tflite::BuiltinOperator
code(
void)
const override {
return tflite::BuiltinOperator_MATRIX_DIAG; }
33 tflite::BuiltinOptions
type(
void)
const override
35 return tflite::BuiltinOptions_MatrixDiagOptions;
41 const tflchef::Operation *_operation;
46 std::unique_ptr<OpChef>
create(
const tflchef::Operation *operation)
const override;
tflite::BuiltinOperator code(void) const override
flatbuffers::Offset< void > value(flatbuffers::FlatBufferBuilder &fbb) const override
MatrixDiagChef(const tflchef::Operation *operation)
tflite::BuiltinOptions type(void) const override
Helper class to hold data needed in creation of a FlatBuffer. To serialize data, you typically call o...
std::unique_ptr< OpChef > create(const tflchef::Operation *operation) const override