ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnfw::cker::optimized::BinaryOpActivationFloatMax Struct Reference

#include <BinaryArithmeticOps.h>

Static Public Member Functions

static float applyCeiling (const float value, const float ceilingParam)
 
static float applyFloor (const float value, const float floorParam)
 

Detailed Description

Definition at line 515 of file BinaryArithmeticOps.h.

Member Function Documentation

◆ applyCeiling()

static float nnfw::cker::optimized::BinaryOpActivationFloatMax::applyCeiling ( const float  value,
const float  ceilingParam 
)
inlinestatic

Definition at line 528 of file BinaryArithmeticOps.h.

529 {
530 (void)ceilingParam;
531 return value;
532 }

◆ applyFloor()

static float nnfw::cker::optimized::BinaryOpActivationFloatMax::applyFloor ( const float  value,
const float  floorParam 
)
inlinestatic

Definition at line 533 of file BinaryArithmeticOps.h.

534 {
535 return std::max(value, floorParam);
536 }

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