API reference for trainer.fit()

Dear sir,

I notice trainer.fit(model, data) shows a graph for the training and validation accuracy

May I ask where can we get the accuracy value? Can you point me to the API reference for the d2l.Trainer() function? Sorry for the basic question, very new to this software.

Thank you
Haris

Hi @harislye! You can look at the API in 20.8. d2l API Document — Dive into Deep Learning 1.0.0-alpha1.post0 documentation
or if you prefer github then d2l-en/d2l at release · d2l-ai/d2l-en · GitHub