primitiv-python
primitiv-python copied to clipboard
Python binding of primitiv.
This branch implements contrib functions in Python. Some contrib functions in C++ use `get_default()` internally but it returns `null` because the default object is stored in Python.
Example code: ``` In [1]: from primitiv import Device, Graph, functions, devices, Shape In [2]: dev = devices.Naive() In [3]: Device.set_default(dev) In [4]: g = Graph() In [5]: Graph.set_default(g) In...
When I implemented stacked LSTMs, there was a need to maintain layer-wise parameter matrices in one Parameter, such as - Wx[0]: Parameter Wx for layer 1, - Wx[1]: Parameter Wx...
Wheel packages hosted on PyPI basically should support [PEP 513](https://www.python.org/dev/peps/pep-0513/) standard (namely, `manylinux1` tag) to follow most Linux distributions. But usually, because most neural network libraries are used together with...
Write test cases for each method of classes. The current test cases do not detect easy bugs.