ONE - On-device Neural Engine
Loading...
Searching...
No Matches
moco::BinaryFunc Struct Reference

#include <ConstantFoldHelper.h>

Public Member Functions

virtual ~BinaryFunc ()=default
 
virtual float apply (float, float) const
 
virtual int32_t apply (int32_t, int32_t) const
 

Detailed Description

Definition at line 44 of file ConstantFoldHelper.h.

Constructor & Destructor Documentation

◆ ~BinaryFunc()

virtual moco::BinaryFunc::~BinaryFunc ( )
virtualdefault

Member Function Documentation

◆ apply() [1/2]

float moco::BinaryFunc::apply ( float  ,
float   
) const
virtual

Definition at line 114 of file ConstantFoldHelper.cpp.

115{
116 throw std::runtime_error{"F32 is not supported yet"};
117}

◆ apply() [2/2]

int32_t moco::BinaryFunc::apply ( int32_t  ,
int32_t   
) const
virtual

Definition at line 119 of file ConstantFoldHelper.cpp.

120{
121 throw std::runtime_error{"S32 is not supported yet"};
122}

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