summary { font-weight: normal; margin: -.5em -.5em 0; padding: .5em; }
details[open] { padding: .5em; }
details[open] summary { border-bottom: 1px solid #aaa; margin-bottom: .5em; } </style>
Deep Learning Course v2.0
Universitat de Barcelona, 2020
Jordi Vitrià
This is example page of the API doc style created Aras Pranckevičius at Unity for Morgan McGuire's Markdeep and now part of the official Markdeep distro. It uses content that could be an imaginary documentation page. Here would be some introduction text.
La recursió
-
ha d'haver-hi un o més casos base: són condicions de les dades que es resolen directament, sense que calgui una nova crida al programa
-
a cada crida recursiva ens apropem a un dels casos base: ja sigui perquè es decrementa una variable, perquè es redueix una llista...
D'una manera simplificada podríem dir que els algorismes recursius segueixen el patró:
def recursiu(x):
if x=cas_final:
return VALOR
else:
return CRIDA_RECURSIVA(x reduïda)+Calculs
!!! Error: Compte amb la recusió. No feu mai més de 100 crides recursives d'un programa!
$$f(x) = 23$$
From the root folder, run "thing" with the target name, e.g.: thing Yes
- On Mac, Linux or Windows PowerShell, you'll want to use
./thing
instead of justthing
. - Target and option names are case sensitive!
- Several things to do can be specified:
thing Yes No FileNotFound
Additional options can be passed via -sNAME=VALUE
arguments. Most common ones are CONFIG
(used to indicate debug or release thing) and PLATFORM (used to indicate 32 vs 64 bit thing).
Thing Name | Description | Notes |
---|---|---|
Yes | Yup! | |
No | Nope :( | |
FileNotFound | Doesn't find files | Pass -sFIND_FILE=maybe to maybe find them |
Regular styling like bold, italics, strikethrough, inline code
, the stuff.
- A
- Bullet
- List
And:
- A
- Numbered
- List!
Symbol substitutions: a 45-degree turn; som x -> y arrows; some whoa ==> fancy <==> arrows.
Is this a definition list? : Looks like one to me Is that right? : Possibly!
And a code listing:
# Substitueix la comanda pass pel teu codi
def era1(n):
import math
pass
Markdeep diagrams:
******************************************* Here's a text to the right of the diagram,
- +-----------------+ .-. * ain't that fancy. Pretty fancy indeed, I
- |\ | .-+ | * must say! Markdeep diagrams are generally
- | \ A-B *---+- .--+ '--. * enclosed into a rectangle full made of
*
- | \ | | Cloud! | * symbols; and are "drawn" using ASCII-art
- +---+-------------+ '-------------' * style, with
- | + / \ * o
etc. ******************************************* Suh-weet!
Another random diagram, just because:
- +-+-+-+-*-o *
- / / ^ / *
- / v / / *
- +-+-+-+ *
!!! Note Hey I'm a note. Don't mind me, I'm just sitting here.
!!! WARNING I'm a warning, perhaps. Something might happen!
And other admonitions:
!!! Error: Never Pass nullptr
to a Shader
Invoking a shader with a null argument can seg fault.
This is a multi-line admonition.
Seriously, don't call shaders like that.
The table of contents that Markdeep produces is stuffed on the right side, if the browser window is wide enough. Otherwise it is hidden.
<style class="fallback">body{visibility:hidden}</style><script>markdeepOptions={tocStyle:'medium'};</script> <script src="https://casual-effects.com/markdeep/latest/markdeep.min.js?" charset="utf-8"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_HTML&delayStartupUntil=configured" type="text/javascript"></script> <script type="text/javascript"> // Setup MathJax MathJax.Hub.Config({ tex2jax: { skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'] } }); MathJax.Hub.Configured(); </script>