blob: c58058059ad5989f093de2ef2f098a2523acaa77 [file] [log] [blame]
{%- block doctype -%}
<!DOCTYPE html>
{%- endblock %}
{%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %}
{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and
(sidebars != []) %}
{%- set url_root = pathto('', 1) %}
{%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
{%- if not embedded and docstitle %}
{%- set titlesuffix = " — "|safe + docstitle|e %}
{%- else %}
{%- set titlesuffix = "" %}
{%- endif %}
{%- macro searchform(classes, button) %}
<form action="{{ pathto('search') }}" autocomplete="off" class="{{classes}}" method="get" role="search">
<div class="form-group inner-addon left-addon">
<i class="glyphicon glyphicon-search"></i>
<input class="form-control" name="q" placeholder="Search" type="text"/>
</div>
<input name="check_keywords" type="hidden" value="yes">
<input name="area" type="hidden" value="default"/>
{% if button %}
<input class="btn btn-default" type="submit" value="search"/>
{% endif %}
</input></form>
{%- endmacro %}
{%- macro sidebarglobal() %}
{{ toctree(maxdepth=4|toint, collapse=True,includehidden=theme_globaltoc_includehidden|tobool) }}
{%- endmacro %}
{%- macro sidebar() %}
{%- if render_sidebar %}
<div aria-label="main navigation" class="sphinxsidebar rightsidebar" role="navigation">
<div class="sphinxsidebarwrapper">
{%- block sidebartoc %}
{%- include "localtoc.html" %}
{%- endblock %}
</div>
</div>
{%- endif %}
{%- endmacro %}
{%- macro script() %}
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '{{ url_root }}',
VERSION: '{{ release|e }}',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
HAS_SOURCE: {{ has_source|lower }},
SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'
};
</script>
<script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script>
{% for name in ['underscore.js', 'searchtools_custom.js', 'doctools.js', 'selectlang.js'] %}
<script src="{{ pathto('_static/' + name, 1) }}" type="text/javascript"></script>
{% endfor %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
<script type="text/javascript"> jQuery(function() { Search.loadIndex("{{ pathto('/searchindex.js', 1) }}"); Search.init();}); </script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-96378503-1', 'auto');
ga('send', 'pageview');
</script>
<!-- {%- for scriptfile in script_files %} -->
<!-- <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script> -->
<!-- {%- endfor %} -->
{%- endmacro %}
{%- macro css() %}
<link crossorigin="anonymous" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" rel="stylesheet"/>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet"/>
{% if pagename != 'index' %}
<link href="{{ pathto('_static/' + style, 1) }}" rel="stylesheet" type="text/css">
<link href="{{ pathto('_static/pygments.css', 1) }}" rel="stylesheet" type="text/css">
{%- endif %}
<link href="{{ pathto('_static/mxnet.css', 1) }}" rel="stylesheet" type="text/css"/>
{%- endmacro %}
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
{# The above 3 meta tags *must* come first in the head; any other head content
must come *after* these tags. #}
{{ metatags }}
{%- block htmltitle %}
<meta content="{{ title }}" property="og:title">
<meta content="https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/image/og-logo.png" property="og:image">
<meta content="https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/image/og-logo.png" property="og:image:secure_url">
{%- if pagename != 'index' and 'no title' not in title %}
<meta content="{{ title }}" property="og:description"/>
<title>{{ title|striptags|e }}{{ titlesuffix }}</title>
{%- elif pagename == 'index' %}
<meta content="A flexible and efficient library for deep learning." property="og:description"/>
<title>MXNet: A Scalable Deep Learning Framework</title>
{%- else %}
<meta content="A flexible and efficient library for deep learning." property="og:description"/>
<title>{{ pagename.split('/')[0]|capitalize }}{{ titlesuffix }}</title>
{%- endif %}
{%- endblock %}
{{ css() }}
{%- if not embedded %}
{{ script() }}
{%- if use_opensearch %}
<link href="{{ pathto('_static/opensearch.xml', 1) }}" rel="search" title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}" type="application/opensearchdescription+xml">
{%- endif %}
{%- if favicon %}
<link href="{{ pathto('_static/' + favicon, 1) }}" rel="shortcut icon"/>
{%- endif %}
{%- endif %}
{%- block linktags %}
{%- if hasdoc('about') %}
<link href="{{ pathto('about') }}" rel="author" title="{{ _('About these documents') }}"/>
{%- endif %}
{%- if hasdoc('genindex') %}
<link href="{{ pathto('genindex') }}" rel="index" title="{{ _('Index') }}"/>
{%- endif %}
{%- if hasdoc('search') %}
<link href="{{ pathto('search') }}" rel="search" title="{{ _('Search') }}"/>
{%- endif %}
{%- if hasdoc('copyright') %}
<link href="{{ pathto('copyright') }}" rel="copyright" title="{{ _('Copyright') }}"/>
{%- endif %}
{%- if parents %}
<link href="{{ parents[-1].link|e }}" rel="up" title="{{ parents[-1].title|striptags|e }}"/>
{%- endif %}
{%- if next %}
<link href="{{ next.link|e }}" rel="next" title="{{ next.title|striptags|e }}"/>
{%- endif %}
{%- if prev %}
<link href="{{ prev.link|e }}" rel="prev" title="{{ prev.title|striptags|e }}"/>
{%- endif %}
{%- endblock %}
{%- block extrahead %} {% endblock %}
<link href="https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/image/mxnet-icon.png" rel="icon" type="image/png"/>
</link></meta></meta></meta></head>
<body background="https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/image/mxnet-background-compressed.jpeg" role="document">
<div class="content-block">
{%- include "navbar.html" %}
{% if pagename != 'index' %}
<script type="text/javascript">
$('body').css('background', 'white');
</script>
<div class="container">
<div class="row">
<div aria-label="main navigation" class="sphinxsidebar leftsidebar" role="navigation">
<div class="sphinxsidebarwrapper">
{{sidebarglobal()}}
</div>
</div>
<div class="content">
<div class="page-tracker"></div>
{% block body %} {% endblock %}
</div>
</div>
{{ sidebar() }}
</div>
{%- include "footer.html" %}
{%- else %}
{%- include "index.html" %}
{%- include "footer.html" %}
{%- endif %} <!-- pagename != index -->
</div>
<script crossorigin="anonymous" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="{{ pathto('_static/js/sidebar.js', 1) }}" type="text/javascript"></script>
<script src="{{ pathto('_static/js/search.js', 1) }}" type="text/javascript"></script>
<script src="{{ pathto('_static/js/navbar.js', 1) }}" type="text/javascript"></script>
<script src="{{ pathto('_static/js/clipboard.min.js', 1) }}" type="text/javascript"></script>
<script src="{{ pathto('_static/js/copycode.js', 1) }}" type="text/javascript"></script>
<script src="{{ pathto('_static/js/page.js', 1) }}" type="text/javascript"></script>
<script src="{{ pathto('_static/js/docversion.js', 1) }}" type="text/javascript"></script>
<script type="text/javascript">
$('body').ready(function () {
$('body').css('visibility', 'visible');
});
</script>
</body>
</html>
</link></link>