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

tflchef operator builder for MatrixSetDiag More...

#include <MatrixSetDiag.h>

Collaboration diagram for tflchef::TFliteOpMatrixSetDiag:

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 MatrixSetDiag

Definition at line 28 of file MatrixSetDiag.h.

Member Function Documentation

◆ build()

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

Implements tflchef::TFliteOpChef.

Definition at line 28 of file MatrixSetDiag.cpp.

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

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

◆ filler()

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

Implements tflchef::TFliteOpChef.

Definition at line 22 of file MatrixSetDiag.cpp.

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

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