Package examples.custom

Types

EvaluationCallback
Link copied to clipboard
class EvaluationCallback : Callback

Simple custom Callback object.

FitCallback
Link copied to clipboard
class FitCallback : Callback

Simple custom Callback object.

PredictCallback
Link copied to clipboard
class PredictCallback : Callback

Simple custom Callback object.

Functions

lenetMnistWithCustomCallback
Link copied to clipboard
fun lenetMnistWithCustomCallback()

This example shows how to do image classification from scratch using model, without leveraging pre-trained weights or a pre-made model. We demonstrate the workflow on the Mnist classification dataset.

main
Link copied to clipboard
fun main()