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

tflchef operator builder for Tanh More...

#include <Tanh.h>

Collaboration diagram for tflchef::TFliteOpTanh:

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 Tanh

Definition at line 28 of file Tanh.h.

Member Function Documentation

◆ build()

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

Implements tflchef::TFliteOpChef.

Definition at line 29 of file Tanh.cpp.

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

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

◆ filler()

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

Implements tflchef::TFliteOpChef.

Definition at line 24 of file Tanh.cpp.

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

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