obrazky pridat

This commit is contained in:
Priec
2026-05-06 00:21:21 +02:00
parent ee34368462
commit c0c45dda00
17 changed files with 1043 additions and 142 deletions

View File

@@ -0,0 +1,9 @@
\frametitle{Forward pass}
\begin{lstlisting}[language=Rust, style=colouredRust]
fn forward(&self, x: Tensor<B, 2>) -> Tensor<B, 2> {
let x = self.linear1.forward(x);
let x = self.activation.forward(x);
self.linear2.forward(x)
}
\end{lstlisting}