Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tynanbe committed Sep 30, 2022
1 parent d292bd0 commit 8b6dae6
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## v0.2.0 - 2022-09-29

- The `space` module gets an updated `d1` function so the dimension size can be
given.
Expand Down
32 changes: 27 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,41 @@ A Gleam library for tensor maths.

## Installation

### Mix
### As a dependency of your Gleam project

• Add `argamak` to `gleam.toml` from the command line

```shell
$ gleam add argamak
```

### As a dependency of your Mix project

• Add `argamak` to `mix.exs`

```elixir
# mix.exs
defp deps do
[
{:argamak, "~> 0.1"},
{:argamak, "~> 0.2"},
]
end
```

*For the Erlang compilation target, `argamak` depends on `Elixir.Nx` and, for
the time being, is easiest to use as a dependency of a `Mix` project.*
### As a dependency of your Rebar3 project

• Add `argamak` to `rebar.config`

```erlang
{deps, [
{argamak, "0.2.0"}
]}.
```

### JavaScript

The `@tensorflow/tfjs` package is a runtime requirement for `argamak`, and its
import path in the `argamak_ffi.mjs` module might need adjustment, depending on
your use case.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "argamak"
version = "0.2.0-dev"
version = "0.2.0"
description = "A tensor library for the Gleam programming language"
licences = ["Apache-2.0"]

Expand Down

0 comments on commit 8b6dae6

Please sign in to comment.