An open API service indexing awesome lists of open source software.

https://github.com/philzook58/purescript-propel

Purescript bindings to Propel tensor library
https://github.com/philzook58/purescript-propel

Last synced: 3 months ago
JSON representation

Purescript bindings to Propel tensor library

Awesome Lists containing this project

README

          

# purescript-propel

## If shapes don't make sense, will throw errors. Buyer beware.
Purescript bindings to the Propel ML tensor library. Closely follows the API to be found here http://propelml.org/docs/.

A type indexed library to avoid shape mismatch is a WIP (see branch typelevel).

npm install appropriate version of propel for your computer for Tensorflow bindings when run via node. See propel documentation [here](https://github.com/propelml/propel). For example.

```npm install propel_linux_gpu```

Check out test/Main.purs for some example usage

This may be useful for dealing with Typed Array instances:
https://github.com/jutaro/purescript-typedarray

Lots of other possibly useful stuff not implemented (maps, filters, folds of typed array):
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray

Propel plot is not working. I do not understand how it possibly could actually.

I have had difficulty browserifying. One can use the Propel cdn instead (see /examples folder) or perhaps webpack.