This repository has been archived by the owner on Jul 19, 2023. It is now read-only.
generated from fastai/nbdev_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ncoop57
committed
Dec 7, 2020
1 parent
82ae9ac
commit 332e482
Showing
8 changed files
with
225 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
--- | ||
|
||
title: CLI | ||
|
||
|
||
keywords: fastai | ||
sidebar: home_sidebar | ||
|
||
summary: "Contains all the CLI functions that your library provides." | ||
description: "Contains all the CLI functions that your library provides." | ||
nb_path: "nbs/01_cli.ipynb" | ||
--- | ||
<!-- | ||
################################################# | ||
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ### | ||
################################################# | ||
# file to edit: nbs/01_cli.ipynb | ||
# command to build the docs after a change: nbdev_build_docs | ||
--> | ||
|
||
<div class="container" id="notebook-container"> | ||
|
||
{% raw %} | ||
|
||
<div class="cell border-box-sizing code_cell rendered"> | ||
|
||
</div> | ||
{% endraw %} | ||
|
||
{% raw %} | ||
|
||
<div class="cell border-box-sizing code_cell rendered"> | ||
|
||
</div> | ||
{% endraw %} | ||
|
||
{% raw %} | ||
|
||
<div class="cell border-box-sizing code_cell rendered"> | ||
|
||
<div class="output_wrapper"> | ||
<div class="output"> | ||
|
||
<div class="output_area"> | ||
|
||
|
||
<div class="output_markdown rendered_html output_subarea "> | ||
<h4 id="process_data" class="doc_header"><code>process_data</code><a href="https://github.com/wm-semeru/mlproj_template/tree/main/mlproj_template/cli.py#L9" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>process_data</code>(<strong><code>param1</code></strong>:"The message")</p> | ||
</blockquote> | ||
<p>Function for processing data related to the library.</p> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
{% endraw %} | ||
|
||
{% raw %} | ||
|
||
<div class="cell border-box-sizing code_cell rendered"> | ||
|
||
</div> | ||
{% endraw %} | ||
|
||
{% raw %} | ||
|
||
<div class="cell border-box-sizing code_cell rendered"> | ||
|
||
<div class="output_wrapper"> | ||
<div class="output"> | ||
|
||
<div class="output_area"> | ||
|
||
|
||
<div class="output_markdown rendered_html output_subarea "> | ||
<h4 id="train" class="doc_header"><code>train</code><a href="https://github.com/wm-semeru/mlproj_template/tree/main/mlproj_template/cli.py#L15" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>train</code>(<strong><code>param1</code></strong>:"The message")</p> | ||
</blockquote> | ||
<p>Function for training models related to the library.</p> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
{% endraw %} | ||
|
||
{% raw %} | ||
|
||
<div class="cell border-box-sizing code_cell rendered"> | ||
|
||
</div> | ||
{% endraw %} | ||
|
||
{% raw %} | ||
|
||
<div class="cell border-box-sizing code_cell rendered"> | ||
|
||
<div class="output_wrapper"> | ||
<div class="output"> | ||
|
||
<div class="output_area"> | ||
|
||
|
||
<div class="output_markdown rendered_html output_subarea "> | ||
<h4 id="evaluate" class="doc_header"><code>evaluate</code><a href="https://github.com/wm-semeru/mlproj_template/tree/main/mlproj_template/cli.py#L21" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>evaluate</code>(<strong><code>param1</code></strong>:"The message")</p> | ||
</blockquote> | ||
<p>Function for evaluating models related to the library.</p> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
{% endraw %} | ||
|
||
{% raw %} | ||
|
||
<div class="cell border-box-sizing code_cell rendered"> | ||
|
||
</div> | ||
{% endraw %} | ||
|
||
{% raw %} | ||
|
||
<div class="cell border-box-sizing code_cell rendered"> | ||
|
||
<div class="output_wrapper"> | ||
<div class="output"> | ||
|
||
<div class="output_area"> | ||
|
||
|
||
<div class="output_markdown rendered_html output_subarea "> | ||
<h4 id="reproduce" class="doc_header"><code>reproduce</code><a href="https://github.com/wm-semeru/mlproj_template/tree/main/mlproj_template/cli.py#L27" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>reproduce</code>(<strong><code>param1</code></strong>:"The message")</p> | ||
</blockquote> | ||
<p>Function for reproducing results related to the library.</p> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
{% endraw %} | ||
|
||
{% raw %} | ||
|
||
<div class="cell border-box-sizing code_cell rendered"> | ||
|
||
</div> | ||
{% endraw %} | ||
|
||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
|
||
title: module name here | ||
title: Core | ||
|
||
|
||
keywords: fastai | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"mlproj_template": { | ||
"Overview": "/", | ||
"module name here": "core.html" | ||
"Core": "core.html", | ||
"CLI": "cli.html" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/01_cli.ipynb (unless otherwise specified). | ||
|
||
__all__ = ['process_data', 'train', 'evaluate', 'reproduce'] | ||
|
||
# Cell | ||
from fastcore.script import call_parse, Param | ||
|
||
# Cell | ||
@call_parse | ||
def process_data(param1: Param("The message", str)): | ||
"""Function for processing data related to the library.""" | ||
pass | ||
|
||
# Cell | ||
@call_parse | ||
def train(param1: Param("The message", str)): | ||
"""Function for training models related to the library.""" | ||
pass | ||
|
||
# Cell | ||
@call_parse | ||
def evaluate(param1: Param("The message", str)): | ||
"""Function for evaluating models related to the library.""" | ||
pass | ||
|
||
# Cell | ||
@call_parse | ||
def reproduce(param1: Param("The message", str)): | ||
"""Function for reproducing results related to the library.""" | ||
pass |