AN 1011: TinyML Applications in Altera FPGAs Using LiteRT for Microcontrollers

ID 848984
Date 4/07/2025
Public

Visible to Intel only — GUID: fxc1739945578974

Ixiasoft

Document Table of Contents

2.3.2. Configuring Model

Specify the loss function, optimizer, and interested metrics for the model.
# Compile the Model
model.compile(loss = tf.keras.metrics.categorical_crossentropy, optimizer = "adam", metrics = ['accuracy'])