sgeos / mxnet_the_straight_dope

Source code as I work through the MXNET The Straight Dope book.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MXNet the Straight Dope

Source code as I work through the MXNET The Straight Dope book.

Install dependencies with pipenv.

python3 -m pipenv install

Test the MXNet installation with one of the following commands.

python3 -m pipenv run python3 -c "import mxnet as mx; print((mx.nd.ones((3,2))*3+0.5).asnumpy())"
./python.sh -c "import mxnet as mx; print((mx.nd.ones((3,2))*3+0.5).asnumpy())"

The following output should be displayed.

[[3.5 3.5]
 [3.5 3.5]
 [3.5 3.5]]

References / External Links

About

Source code as I work through the MXNET The Straight Dope book.

License:Apache License 2.0


Languages

Language:Jupyter Notebook 100.0%Language:Shell 0.0%