OCR Project
Loading...
Searching...
No Matches
Sample Struct Reference

A single labelled training sample. More...

#include <dataset.h>

Public Attributes

float pixels [CNN_IMG_H *CNN_IMG_W]
int label

Detailed Description

A single labelled training sample.

Member Data Documentation

◆ label

int Sample::label

Class index in [0, CNN_N_CLASSES): 0='A', 25='Z'.

◆ pixels

float Sample::pixels[CNN_IMG_H *CNN_IMG_W]

Flat float array of CNN_IMG_H * CNN_IMG_W normalised pixels.


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