Deployed 0bdb853 with MkDocs version: 1.0.4

This commit is contained in:
William Falcon
2019-06-28 17:43:02 -05:00
parent 6b419bf27c
commit 0e3726f08e
19 changed files with 323 additions and 6 deletions
@@ -102,6 +102,10 @@
<a class="" href="../methods/">Methods</a>
</li>
<li class="">
<a class="" href="../properties/">Properties</a>
</li>
</ul>
</li>
+6 -2
View File
@@ -82,6 +82,10 @@
</ul>
</li>
<li class="">
<a class="" href="../properties/">Properties</a>
</li>
</ul>
</li>
@@ -233,7 +237,7 @@ model.unfreeze()
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="../../Trainer/" class="btn btn-neutral float-right" title="Trainer">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../properties/" class="btn btn-neutral float-right" title="Properties">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../RequiredTrainerInterface/" class="btn btn-neutral" title="Lightning Module interface"><span class="icon icon-circle-arrow-left"></span> Previous</a>
@@ -267,7 +271,7 @@ model.unfreeze()
<span><a href="../RequiredTrainerInterface/" style="color: #fcfcfc;">&laquo; Previous</a></span>
<span style="margin-left: 15px"><a href="../../Trainer/" style="color: #fcfcfc">Next &raquo;</a></span>
<span style="margin-left: 15px"><a href="../properties/" style="color: #fcfcfc">Next &raquo;</a></span>
</span>
</div>
+252
View File
@@ -0,0 +1,252 @@
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="../../img/favicon.ico">
<title>Properties - Pytorch lightning Documentation</title>
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">
<script>
// Current page data
var mkdocs_page_name = "Properties";
var mkdocs_page_input_path = "LightningModule/properties.md";
var mkdocs_page_url = null;
</script>
<script src="../../js/jquery-2.1.1.min.js" defer></script>
<script src="../../js/modernizr-2.8.3.min.js" defer></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-nav-search">
<a href="../.." class="icon icon-home"> Pytorch lightning Documentation</a>
<div role="search">
<form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" title="Type search term here" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<li class="toctree-l1">
<a class="" href="../..">PYTORCH-LIGHTNING DOCUMENTATION</a>
</li>
<li class="toctree-l1">
<a class="" href="../../Examples/">Examples</a>
</li>
<li class="toctree-l1">
<span class="caption-text">LightningModule</span>
<ul class="subnav">
<li class="">
<a class="" href="../RequiredTrainerInterface/">Lightning Module interface</a>
</li>
<li class="">
<a class="" href="../methods/">Methods</a>
</li>
<li class=" current">
<a class="current" href="./">Properties</a>
<ul class="subnav">
<li class="toctree-l3"><a href="#current_epoch">current_epoch</a></li>
<li class="toctree-l3"><a href="#dtype">dtype</a></li>
<li class="toctree-l3"><a href="#global_step">global_step</a></li>
<li class="toctree-l3"><a href="#gradient_clip">gradient_clip</a></li>
<li class="toctree-l3"><a href="#on_gpu">on_gpu</a></li>
<li class="toctree-l3"><a href="#trainer">Trainer</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1">
<span class="caption-text">Trainer</span>
<ul class="subnav">
<li class="">
<a class="" href="../../Trainer/">Trainer</a>
</li>
<li class="">
<a class="" href="../../Trainer/Checkpointing/">Checkpointing</a>
</li>
<li class="">
<a class="" href="../../Trainer/Distributed training/">Distributed training</a>
</li>
<li class="">
<a class="" href="../../Trainer/Logging/">Logging</a>
</li>
<li class="">
<a class="" href="../../Trainer/SLURM Managed Cluster/">SLURM Managed Cluster</a>
</li>
<li class="">
<a class="" href="../../Trainer/Training Loop/">Training Loop</a>
</li>
<li class="">
<a class="" href="../../Trainer/Validation loop/">Validation loop</a>
</li>
<li class="">
<a class="" href="../../Trainer/debugging/">Debugging</a>
</li>
<li class="">
<a class="" href="../../Trainer/hooks/">Hooks</a>
</li>
</ul>
</li>
</ul>
</div>
&nbsp;
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../..">Pytorch lightning Documentation</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="../..">Docs</a> &raquo;</li>
<li>LightningModule &raquo;</li>
<li>Properties</li>
<li class="wy-breadcrumbs-aside">
<a href="https://github.com/williamFalcon/pytorch-lightning/edit/master/docs/LightningModule/properties.md"
class="icon icon-github"> Edit on GitHub</a>
</li>
</ul>
<hr/>
</div>
<div role="main">
<div class="section">
<p>A LightningModule has the following properties which you can access at any time</p>
<hr />
<h4 id="current_epoch">current_epoch</h4>
<p>The current epoch </p>
<hr />
<h4 id="dtype">dtype</h4>
<p>Current dtype </p>
<hr />
<h4 id="global_step">global_step</h4>
<p>Total training batches seen across all epochs </p>
<hr />
<h4 id="gradient_clip">gradient_clip</h4>
<p>The current gradient clip value </p>
<hr />
<h4 id="on_gpu">on_gpu</h4>
<p>True if your model is currently running on GPUs. Useful to set flags around the LightningModule for different CPU vs GPU behavior. </p>
<hr />
<h4 id="trainer">Trainer</h4>
<p>Last resort access to any state the trainer has. Changing certain properties here could affect your training run.</p>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="../../Trainer/" class="btn btn-neutral float-right" title="Trainer">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../methods/" class="btn btn-neutral" title="Methods"><span class="icon icon-circle-arrow-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<!-- Copyright etc -->
</div>
Built with <a href="http://www.mkdocs.org">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<div class="rst-versions" role="note" style="cursor: pointer">
<span class="rst-current-version" data-toggle="rst-current-version">
<a href="https://github.com/williamFalcon/pytorch-lightning/" class="fa fa-github" style="float: left; color: #fcfcfc"> GitHub</a>
<span><a href="../methods/" style="color: #fcfcfc;">&laquo; Previous</a></span>
<span style="margin-left: 15px"><a href="../../Trainer/" style="color: #fcfcfc">Next &raquo;</a></span>
</span>
</div>
<script>var base_url = '../..';</script>
<script src="../../js/theme.js" defer></script>
<script src="../../search/main.js" defer></script>
</body>
</html>