ONE - On-device Neural Engine
Loading...
Searching...
No Matches
tflchef::TFliteOpMatrixDiag Class Reference

tflchef operator builder for MatrixDiag More...

#include <MatrixDiag.h>

Collaboration diagram for tflchef::TFliteOpMatrixDiag:

Public Member Functions

void filler (const tflite::Operator *op, TFliteImport *import, tflchef::ModelRecipe *model_recipe) const override
 
tflchef::Operation * build (RecipeChefContext *ctx) const override
 
- Public Member Functions inherited from tflchef::TFliteOpChef
virtual ~TFliteOpChef ()
 

Detailed Description

tflchef operator builder for MatrixDiag

Definition at line 28 of file MatrixDiag.h.

Member Function Documentation

◆ build()

tflchef::Operation * tflchef::TFliteOpMatrixDiag::build ( RecipeChefContext ctx) const
overridevirtual

Implements tflchef::TFliteOpChef.

Definition at line 28 of file MatrixDiag.cpp.

29{
30 tflchef::Operation *operation = ctx->chefop;
31 const tflite::Operator *op = ctx->tflop;
32
33 operation->set_type("MatrixDiag");
34
35 return operation;
36}

References tflchef::RecipeChefContext::chefop, and tflchef::RecipeChefContext::tflop.

◆ filler()

void tflchef::TFliteOpMatrixDiag::filler ( const tflite::Operator *  op,
TFliteImport import,
tflchef::ModelRecipe *  model_recipe 
) const
overridevirtual

Implements tflchef::TFliteOpChef.

Definition at line 22 of file MatrixDiag.cpp.

24{
25 // Nothing to do with filler
26}

The documentation for this class was generated from the following files: