tesseract  4.1.0
tesseract::Relu Struct Reference

#include <functions.h>

Public Member Functions

double operator() (double x) const
 

Detailed Description

Definition at line 115 of file functions.h.

Member Function Documentation

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

Definition at line 116 of file functions.h.

116  {
117  if (x <= 0.0) return 0.0;
118  return x;
119  }

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