Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56a258405a |
@@ -117,7 +117,7 @@ type B = LibTorch;
|
|||||||
kompilátor to zastaví ešte pred spustením.
|
kompilátor to zastaví ešte pred spustením.
|
||||||
\end{frame}
|
\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]
|
\begin{lstlisting}[language=Rust, style=colouredRust]
|
||||||
#[derive(Module)]
|
#[derive(Module)]
|
||||||
pub struct MnistModel<B: Backend> {
|
pub struct MnistModel<B: Backend> {
|
||||||
@@ -125,7 +125,7 @@ pub struct MnistModel<B: Backend> {
|
|||||||
linear2: Linear<B>,
|
linear2: Linear<B>,
|
||||||
activation: Relu,
|
activation: Relu,
|
||||||
}
|
}
|
||||||
\end{lstlisting}]
|
\end{lstlisting}
|
||||||
\vspace{0.5em}
|
\vspace{0.5em}
|
||||||
Derive makro \texttt{Module} automaticky vygeneruje:
|
Derive makro \texttt{Module} automaticky vygeneruje:
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
@@ -146,7 +146,7 @@ fn forward(&self, x: Tensor<B, 2>) -> Tensor<B, 2> {
|
|||||||
|
|
||||||
\end{frame}
|
\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:
|
Burn zabalí ľubovoľný backend do autodiff vrstvy:
|
||||||
\vspace{0.5em}
|
\vspace{0.5em}
|
||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
|
|||||||
@@ -3183,7 +3183,7 @@ ona/iwonar.pfb></nix/store/56vq9r21wl8m731rsri7nh3l4ipih7jj-texlive-2025-r78234-
|
|||||||
final-env-texmfdist/fonts/type1/public/mathdesign/mdbch/md-chb7t.pfb></nix/store
|
final-env-texmfdist/fonts/type1/public/mathdesign/mdbch/md-chb7t.pfb></nix/store
|
||||||
/56vq9r21wl8m731rsri7nh3l4ipih7jj-texlive-2025-r78234-final-env-texmfdist/fonts/
|
/56vq9r21wl8m731rsri7nh3l4ipih7jj-texlive-2025-r78234-final-env-texmfdist/fonts/
|
||||||
type1/public/mathdesign/mdbch/md-chb7y.pfb>
|
type1/public/mathdesign/mdbch/md-chb7y.pfb>
|
||||||
Output written on main.pdf (13 pages, 95816 bytes).
|
Output written on main.pdf (13 pages, 95781 bytes).
|
||||||
|
|
||||||
PDF statistics: 196 PDF objects out of 1000 (max. 8388607)
|
PDF statistics: 196 PDF objects out of 1000 (max. 8388607)
|
||||||
115 compressed objects within 2 object streams
|
115 compressed objects within 2 object streams
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user