-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Start of new library interface * Don't always use arrow to avoid importing gobject * more testing * Tensor(T, S) implementation * better backend abstraction * more abstraction * CPU Backend nearly complete * OpenCL Backend with broadcasting * linear algebra and grad * Working through OpenCL Grad * Continue working through OpenCL grad * A lot more testing * Custom kernel is an abomination * NN Primitives * Complete OpenCL activation + reduction * Beginning NN layers * More gates and axis reductions for Tensor(T, OCL(T)) * Why is this not checked in anymore * Fixing NN * Fix tri iterator * Einsum work + various improvements * Test coverage for einsum * Einsum working with plenty of test coverage * Run reformatting on docstrings + start working with mkdocs * More docs * Update ignore to include certain doc files * More documentation * Working with last couple OpenCL NN related fns * OpenCL NN Work * Move kernels to singletons start * Actual singleton implementations for OCL methods * All OpenCL Kernels moved to singletons except custom * More Kernel work * Most kernels completed * Completely moved to OpenCL Singletons * I always do that with relu loss * Extending more functionality to OpenCL Backend * Finish documentation * Greater test coverage * Test build pipeline with mkdocs * Final commit for 1.0 * Numpy comparison * Re-enable branch check for docs
- Loading branch information
1 parent
3133fd3
commit cd7ab5b
Showing
200 changed files
with
17,574 additions
and
18,191 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
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,15 @@ | ||
FROM crystallang/crystal | ||
|
||
RUN apt-get update && apt-get install \ | ||
curl \ | ||
libopenblas-dev \ | ||
gnupg \ | ||
clang \ | ||
build-essential \ | ||
git \ | ||
python3 \ | ||
python3-pip \ | ||
-y | ||
|
||
COPY requirements.txt requirements.txt | ||
RUN pip install -r requirements.txt |
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,9 @@ | ||
mkdocs==1.2.3 | ||
mkdocs-autorefs==0.3.0 | ||
mkdocs-gen-files==0.3.3 | ||
mkdocs-literate-nav==0.4.0 | ||
mkdocs-material==7.3.4 | ||
mkdocs-material-extensions==1.0.3 | ||
mkdocs-section-index==0.3.2 | ||
mkdocstrings==0.16.2 | ||
mkdocstrings-crystal==0.3.3 |
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,19 @@ | ||
# Generate virtual doc files for the mkdocs site. | ||
# You can also run this script directly to actually write out those files, as a preview. | ||
|
||
import mkdocs_gen_files | ||
|
||
# Get the documentation root object | ||
root = mkdocs_gen_files.config["plugins"]["mkdocstrings"].get_handler("crystal").collector.root | ||
|
||
# For each type (e.g. "Foo::Bar") | ||
for typ in root.walk_types(): | ||
# Use the file name "Foo/Bar/index.md" | ||
filename = "/".join(typ.abs_id.split("::") + ["index.md"]) | ||
# Make a file with the content "# ::: Foo::Bar\n" | ||
with mkdocs_gen_files.open(filename, "w") as f: | ||
print(f"# ::: {typ.abs_id}", file=f) | ||
|
||
# Link to the type itself when clicking the "edit" button on the page. | ||
if typ.locations: | ||
mkdocs_gen_files.set_edit_path(filename, typ.locations[0].url) |
Oops, something went wrong.