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

tflchef operator builder for ReLU More...

#include <ReLU.h>

Collaboration diagram for tflchef::TFliteOpReLU:

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 ReLU

Definition at line 28 of file ReLU.h.

Member Function Documentation

◆ build()

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

Implements tflchef::TFliteOpChef.

Definition at line 30 of file ReLU.cpp.

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

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

◆ filler()

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

Implements tflchef::TFliteOpChef.

Definition at line 24 of file ReLU.cpp.

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

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