Documentation
¶
Overview ¶
Command go-iris-tflite classifies iris flowers as setosa, versicolor or virginica from four measurements (sepal length, sepal width, petal length, petal width, in cm) with the trained TensorFlow Lite model.
With no arguments it samples random flowers from the dataset, classifies them, and compares each prediction with the class recorded in the CSV.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
train
command
Command train trains the iris classifier on Fisher's 150 flowers with a hand-written backprop/Adam loop — no TensorFlow, no C — and writes the result as a TensorFlow Lite flatbuffer.
|
Command train trains the iris classifier on Fisher's 150 flowers with a hand-written backprop/Adam loop — no TensorFlow, no C — and writes the result as a TensorFlow Lite flatbuffer. |
|
Package iris holds what the trainer and the classifier share: the four measurements, the three species, and the dataset loader.
|
Package iris holds what the trainer and the classifier share: the four measurements, the three species, and the dataset loader. |
|
Package xnnpack enables the XNNPACK delegate through the symbols that libtensorflowlite_c.so itself exports, so no separate libXNNPACK / libtensorflowlite-delegate_xnnpack install is needed (which is what the go-tflite delegates/xnnpack package would link against).
|
Package xnnpack enables the XNNPACK delegate through the symbols that libtensorflowlite_c.so itself exports, so no separate libXNNPACK / libtensorflowlite-delegate_xnnpack install is needed (which is what the go-tflite delegates/xnnpack package would link against). |