Skip to content

Commit 094895a

Browse files
Merge branch 'master' into patch-1
2 parents b868ab3 + a1cfd78 commit 094895a

File tree

80 files changed

+11014
-617
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+11014
-617
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
*.ipynb
2-
31
# Byte-compiled / optimized / DLL files
42
__pycache__/
53
*.py[cod]

_config.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ title: CS231n Convolutional Neural Networks for Visual Recognition
33
email: karpathy@cs.stanford.edu
44
description: "Course materials and notes for Stanford class CS231n: Convolutional Neural Networks for Visual Recognition."
55
baseurl: ""
6-
url: "http://cs231n.github.io"
6+
url: "https://cs231n.github.io"
7+
courseurl: "http://cs231n.stanford.edu/"
78
twitter_username: cs231n
8-
github_username: cs231n
9+
github_username: cs231n
910

1011
# Build settings
1112
markdown: kramdown
@@ -17,3 +18,7 @@ kramdown:
1718
auto_ids: true
1819
syntax_highlighter: rouge
1920

21+
# links to homeworks
22+
hw_1_colab: https://cs231n.github.io/assignments/2021/assignment1_colab.zip
23+
hw_2_colab: https://cs231n.github.io/assignments/2021/assignment2_colab.zip
24+
hw_3_colab: https://cs231n.github.io/assignments/2021/assignment3_colab.zip

_includes/footer.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<div class="footer-col-1 column">
66
<ul>
7-
7+
88
{% if site.github_username %}<li>
99
<a href="https://github.com/{{ site.github_username }}">
1010
<span class="icon github">
@@ -41,18 +41,18 @@
4141
<span class="username">{{ site.twitter_username }}</span>
4242
</a>
4343
</li>{% endif %}
44-
<li>
44+
<!-- <li>
4545
<a href="mailto:{{ site.email }}">{{ site.email }}</a>
46-
</li>
46+
</li> -->
4747
</ul>
4848
</div>
4949

5050
<div class="footer-col-2 column">
51-
51+
5252
</div>
5353

5454
<div class="footer-col-3 column">
55-
55+
5656
</div>
5757

5858
</div>

_includes/head.html

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
<head>
2-
<meta charset="utf-8">
3-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4-
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
5-
<meta name="viewport" content="width=device-width">
6-
<meta name="description" content="{{ site.description }}">
7-
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
5+
<meta name="viewport" content="width=device-width">
6+
<meta name="description" content="{{ site.description }}">
7+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
88

9-
<!-- Custom CSS -->
10-
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
9+
<!-- Custom CSS -->
10+
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
1111

12-
<!-- Google fonts -->
13-
<link href='http://fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>
12+
<!-- Google fonts -->
13+
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>
1414

15-
<!-- Google tracking -->
16-
<script>
17-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
18-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
19-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
20-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
15+
<!-- Google tracking -->
16+
<script>
17+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
18+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
19+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
20+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
2121

22-
ga('create', 'UA-46895817-2', 'auto');
23-
ga('send', 'pageview');
24-
25-
</script>
26-
22+
ga('create', 'UA-46895817-2', 'auto');
23+
ga('send', 'pageview');
24+
</script>
2725
</head>

_includes/header.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<header class="site-header">
22

3-
<div class="wrap title-wrap">
4-
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
5-
</div>
3+
<a class="site-title" href="{{ site.url }}">{{ site.title }}</a>
4+
<a class="site-link" href="{{ site.courseurl }}">Course Website</a>
65

76
</header>

_layouts/default.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@
55

66
<body>
77

8+
<script src="https://unpkg.com/vanilla-back-to-top@7.2.1/dist/vanilla-back-to-top.min.js"></script>
9+
<script>addBackToTop({
10+
backgroundColor: '#fff',
11+
innerHTML: 'Back to Top',
12+
textColor: '#333'
13+
})</script>
14+
<style>
15+
#back-to-top {
16+
border: 1px solid #ccc;
17+
border-radius: 0;
18+
font-family: sans-serif;
19+
font-size: 14px;
20+
width: 100px;
21+
text-align: center;
22+
line-height: 30px;
23+
height: 30px;
24+
}
25+
</style>
26+
827
{% include header.html %}
928

1029
<div class="page-content">
@@ -17,5 +36,13 @@
1736

1837
<!-- mathjax -->
1938
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
39+
<script type="text/x-mathjax-config">
40+
// Make responsive
41+
MathJax.Hub.Config({
42+
"HTML-CSS": { linebreaks: { automatic: true } },
43+
"SVG": { linebreaks: { automatic: true } },
44+
});
45+
</script>
46+
2047
</body>
2148
</html>

_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ <h1>{{ page.title }}</h1>
1111
{{ content }}
1212
</article>
1313

14-
</div>
14+
</div>

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ <h1>{{ page.title }}</h1>
1212
{{ content }}
1313
</article>
1414

15-
</div>
15+
</div>

assets/a2/batchnorm_graph.png

93.3 KB
Loading

assets/a2/normalization.png

80.7 KB
Loading

0 commit comments

Comments
 (0)