ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci_interpreter_pal::FloorDivFn< T, > Struct Template Reference

#include <PALBinaryOpCommon.h>

Public Member Functions

operator() (T lhs, T rhs)
 

Detailed Description

template<typename T, std::enable_if_t< std::is_floating_point< T >::value, bool > = true>
struct luci_interpreter_pal::FloorDivFn< T, >

Definition at line 29 of file PALBinaryOpCommon.h.

Member Function Documentation

◆ operator()()

template<typename T , std::enable_if_t< std::is_floating_point< T >::value, bool > = true>
T luci_interpreter_pal::FloorDivFn< T, >::operator() ( lhs,
rhs 
)
inline

Definition at line 31 of file PALBinaryOpCommon.h.

32 {
33 return std::floor(static_cast<double>(lhs) / static_cast<double>(rhs));
34 }

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