smal changes

This commit is contained in:
Priec
2026-05-06 08:10:52 +02:00
parent 491f38f511
commit 56a258405a
3 changed files with 4 additions and 4 deletions

View File

@@ -117,7 +117,7 @@ type B = LibTorch;
kompilátor to zastaví ešte pred spustením.
\end{frame}
\begin{frame}[fragile]{Ako vyzerá model v Burn}
\begin{frame}[fragile]{Ako vyzerá model v Burn-e}
\begin{lstlisting}[language=Rust, style=colouredRust]
#[derive(Module)]
pub struct MnistModel<B: Backend> {
@@ -125,7 +125,7 @@ pub struct MnistModel<B: Backend> {
linear2: Linear<B>,
activation: Relu,
}
\end{lstlisting}]
\end{lstlisting}
\vspace{0.5em}
Derive makro \texttt{Module} automaticky vygeneruje:
\begin{itemize}
@@ -146,7 +146,7 @@ fn forward(&self, x: Tensor<B, 2>) -> Tensor<B, 2> {
\end{frame}
\begin{frame}{Ako funguje autodiff v Burn}
\begin{frame}{Ako funguje autodiff v Burn-e}
Burn zabalí ľubovoľný backend do autodiff vrstvy:
\vspace{0.5em}
\begin{enumerate}