tesseract  4.00.00dev
tesseract::Relu Struct Reference

#include <functions.h>

Public Member Functions

double operator() (double x) const
 

Detailed Description

Definition at line 101 of file functions.h.

Member Function Documentation

◆ operator()()

double tesseract::Relu::operator() ( double  x) const
inline

Definition at line 102 of file functions.h.

102  {
103  if (x <= 0.0) return 0.0;
104  return x;
105  }

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