forked from pytorch/pytorch.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
features.html
73 lines (63 loc) · 2.1 KB
/
features.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
layout: default
title: Features
permalink: features/
background-class: features-background
body-class: features
---
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1> End-to-end
<br/>Machine Learning
<br/> Framework
</h1>
<p class="lead">PyTorch enables fast, flexible experimentation and efficient production through a user-friendly front-end, distributed training, and ecosystem of tools and libraries.
</p>
<a href="{{ site.baseurl }}/get-started" class="btn btn-lg with-right-arrow btn-white" data-cta="get-started">
Get Started
</a>
</div>
</div>
{% assign features = site.features | sort: 'order' %}
<div class="main-content-wrapper">
<div class="main-content">
<div class="container">
<!-- START CONTENT -->
{% for feature in features %}
<div class="row features-row">
{% capture odd_or_even %}{% cycle 'odd', 'even' %}{% endcapture %}
{% if odd_or_even == 'odd' %}
<div class="col-md-6">
<div class="feature-content">
<div class="feature-content-holder">
{{ feature.snippet | markdownify }}
</div>
</div>
</div>
<div class="col-md-6">
<div class="feature-content">
<h3>{{ feature.title }}</h3>
{{ feature.content }}
</div>
</div>
{% else %}
<div class="col-md-6">
<div class="feature-content">
<h3>{{ feature.title }}</h3>
{{ feature.content }}
</div>
</div>
<div class="col-md-6">
<div class="feature-content">
<div class="feature-content-holder">
{{ feature.snippet | markdownify }}
</div>
</div>
</div>
{% endif %}
</div>
{% endfor %}
</div>
</div>
</div>
{% include quick_start_module.html %}