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

#include <NodeExecution.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 34 of file NodeExecution.h.

Constructor & Destructor Documentation

◆ ~BinaryFunc()

virtual locomotiv::BinaryFunc::~BinaryFunc ( )
virtualdefault

Member Function Documentation

◆ apply() [1/2]

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

Definition at line 43 of file NodeExecution.cpp.

44{
45 throw std::runtime_error{"F32 is not supported yet"};
46}

◆ apply() [2/2]

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

Definition at line 48 of file NodeExecution.cpp.

49{
50 throw std::runtime_error{"S32 is not supported yet"};
51}

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