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

tflchef operator builder for Pow More...

#include <Pow.h>

Collaboration diagram for tflchef::TFliteOpPow:

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 Pow

Definition at line 28 of file Pow.h.

Member Function Documentation

◆ build()

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

Implements tflchef::TFliteOpChef.

Definition at line 29 of file Pow.cpp.

30{
31 tflchef::Operation *operation = ctx->chefop;
32 const tflite::Operator *op = ctx->tflop;
33 operation->set_type("Pow");
34
35 // PowOptions are empty
36
37 return operation;
38}

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

◆ filler()

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

Implements tflchef::TFliteOpChef.

Definition at line 24 of file Pow.cpp.

26{
27}

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