Skip to content

Commit

Permalink
Fix function definition and comment to match cpp file
Browse files Browse the repository at this point in the history
  • Loading branch information
heshpdx committed Sep 3, 2024
1 parent 7ab67f9 commit ff0a38d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lstm/networkio.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ class TESS_API NetworkIO {
// pixel: the value of the pixel from the image (in one channel)
// black: the pixel value to map to the lowest of the range of *this
// contrast: the range of pixel values to stretch to half the range of *this.
void SetPixel(int t, int f, int pixel, float black, float contrast);
// inv_contrast: one over the contrast, to save a divide
void SetPixel(int t, int f, int pixel, float black, float inv_contrast);
// Converts the array to a Pix. Must be pixDestroyed after use.
Image ToPix() const;
// Prints the first and last num timesteps of the array for each feature.
Expand Down

0 comments on commit ff0a38d

Please sign in to comment.