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

#include <NodeExecution.h>

Public Member Functions

virtual ~UnaryFunc ()=default
 
virtual float apply (float) const
 
virtual int32_t apply (int32_t) const
 

Detailed Description

Definition at line 25 of file NodeExecution.h.

Constructor & Destructor Documentation

◆ ~UnaryFunc()

virtual locomotiv::UnaryFunc::~UnaryFunc ( )
virtualdefault

Member Function Documentation

◆ apply() [1/2]

float locomotiv::UnaryFunc::apply ( float  ) const
virtual

Definition at line 40 of file NodeExecution.cpp.

40{ throw std::runtime_error{"F32 is not supported yet"}; }

◆ apply() [2/2]

int32_t locomotiv::UnaryFunc::apply ( int32_t  ) const
virtual

Definition at line 41 of file NodeExecution.cpp.

41{ throw std::runtime_error{"S32 is not supported yet"}; }

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