tesseract  5.0.0-alpha-619-ge9db
tesseract::Relu Struct Reference

#include <functions.h>

Public Member Functions

double operator() (double x) const
 

Detailed Description

Definition at line 84 of file functions.h.

Member Function Documentation

◆ operator()()

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

Definition at line 85 of file functions.h.

85  {
86  if (x <= 0.0) return 0.0;
87  return x;
88  }

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