Skip to content

Commit aef2b5e

Browse files
authored
Merge pull request #55 from ericnakagawa/master
Another redirect fix
2 parents cecb460 + 90f4fbc commit aef2b5e

File tree

203 files changed

+224
-0
lines changed

Some content is hidden

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

203 files changed

+224
-0
lines changed

_layouts/about.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>{{ page.title }}</title>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
8+
9+
<meta property="og:url" content="http://pytorch.org/about"/>
10+
<meta property="og:title" content="About PyTorch"/>
11+
<meta property="og:description"
12+
content="Tensors and Dynamic neural networks in Python
13+
with strong GPU acceleration."/>
14+
<meta property="og:image" content="/static/img/logos/pytorch-logo-dark.png"/>
15+
16+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:200,300,400,600,700">
17+
<link rel="stylesheet"
18+
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
19+
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
20+
crossorigin="anonymous">
21+
<link rel="stylesheet" href="/static/css/main.css">
22+
</head>
23+
<body id="{{ page.id }}">
24+
25+
{% include header.html %}
26+
27+
<section class="content wrap">
28+
<div class="container">
29+
{{ content }}
30+
</div>
31+
</section>
32+
33+
{% include footer.html %}
34+
35+
</body>
36+
</html>

_layouts/blog.html

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>{{ page.title }}</title>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
8+
9+
<meta property="og:url" content="http://pytorch.org/blog"/>
10+
<meta property="og:title" content="PyTorch Blog"/>
11+
<meta property="og:description" content="The latest PyTorch news."/>
12+
<meta property="og:image" content="/static/img/logos/pytorch-logo-dark.png"/>
13+
14+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:200,300,400,600,700">
15+
<link rel="stylesheet"
16+
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
17+
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
18+
crossorigin="anonymous">
19+
<link rel="stylesheet" href="/static/css/main.css">
20+
</head>
21+
<body id="{{ page.id }}">
22+
23+
{% include header.html %}
24+
25+
<section class="content wrap">
26+
<div class="container">
27+
28+
{{ content }}
29+
30+
<ul>
31+
{% for post in site.posts %}
32+
<li>
33+
<a href="{{ post.url }}">{{ post.title }}</a>
34+
{{ post.excerpt }}
35+
{% if post.picture %}
36+
<img src="{{post.picture}}"></img>
37+
{% endif %}
38+
</li>
39+
{% endfor %}
40+
</ul>
41+
</div>
42+
</section>
43+
44+
{% include footer.html %}
45+
46+
</body>
47+
</html>

_layouts/default.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
5+
<title>{{ page.title }}</title>
6+
<meta property="og:title" content="PyTorch"/>
7+
<meta property="og:description"
8+
content="Tensors and Dynamic neural networks in Python
9+
with strong GPU acceleration."/>
10+
<meta property="og:image" content="/static/img/logos/pytorch-logo-dark.png"/>
11+
12+
<meta charset="utf-8">
13+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
14+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
15+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:200,300,400,600,700">
16+
<link rel="stylesheet"
17+
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
18+
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
19+
crossorigin="anonymous">
20+
<link rel="stylesheet" href="/static/css/main.css">
21+
22+
</head>
23+
<body id="{{ page.id }}">
24+
25+
{% include header.html %}
26+
27+
{{ content }}
28+
29+
{% include footer.html %}
30+
31+
</body>
32+
</html>

_layouts/post.html

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>{{ page.title }}</title>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
8+
9+
<meta property="og:url" content="http://pytorch.org/{{ page.id }}"/>
10+
<meta property="og:title" content="{{ page.title }}"/>
11+
<meta property="og:image" content="/static/img/logos/pytorch-logo-dark.png"/>
12+
13+
14+
15+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:200,300,400,600,700">
16+
<link rel="stylesheet"
17+
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
18+
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
19+
crossorigin="anonymous">
20+
<link rel="stylesheet" href="/static/css/main.css">
21+
<link rel="stylesheet" href="/static/css/jekyll-github.css">
22+
</head>
23+
<body id="{{ page.id }}">
24+
25+
{% include header.html %}
26+
27+
<section class="content wrap">
28+
<div class="container">
29+
30+
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
31+
32+
<section class="post-header">
33+
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
34+
<p class="post-meta">
35+
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
36+
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
37+
{{ page.date | date: date_format }}
38+
</time>
39+
{% if page.author %}
40+
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
41+
{% endif %}</p>
42+
</section>
43+
44+
<div class="post-content" itemprop="articleBody">
45+
{{ content }}
46+
</div>
47+
48+
{% if site.disqus.shortname %}
49+
{% include disqus_comments.html %}
50+
{% endif %}
51+
</article>
52+
53+
</div>
54+
</section>
55+
56+
{% include footer.html %}
57+
58+
</body>
59+
</html>

_layouts/redirect.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en-US">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="refresh" content="1; url={{ page.redirect_url }}">
6+
<script type="text/javascript">
7+
window.location.href = "{{ page.redirect_url }}"
8+
</script>
9+
<title>Page Redirection</title>
10+
</head>
11+
<body>
12+
If you are not redirected automatically, follow this <a href='{{ page.redirect_url }}'>link to the latest documentation</a>.
13+
<br />
14+
If you want to view documentation for a particular version, follow this <a href='versions.html'>link</a>.
15+
</body>
16+
</html>

_layouts/tutorial.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>{{ page.title }}</title>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
8+
9+
<meta property="og:url" content="http://pytorch.org/tutorials"/>
10+
<meta property="og:title" content="PyTorch Tutorials"/>
11+
<meta property="og:description" content="Learn how to use PyTorch with these tutorials."/>
12+
<meta property="og:image" content="/static/img/logos/pytorch-logo-dark.png"/>
13+
14+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:200,300,400,600,700">
15+
<link rel="stylesheet"
16+
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
17+
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
18+
crossorigin="anonymous">
19+
<link rel="stylesheet" href="/static/css/main.css">
20+
</head>
21+
<body id="{{ page.id }}">
22+
23+
{% include header.html %}
24+
25+
<section class="content wrap">
26+
<div class="container">
27+
{{ content }}
28+
</div>
29+
</section>
30+
31+
{% include footer.html %}
32+
33+
</body>
34+
</html>

docs/stable/_images/ELU.png

100644100755
File mode changed.

docs/stable/_images/Hardshrink.png

100644100755
File mode changed.

docs/stable/_images/Hardtanh.png

100644100755
File mode changed.

docs/stable/_images/LeakyReLU.png

100644100755
File mode changed.

0 commit comments

Comments
 (0)