Skip to content

This repository is for custom dtypes for the numpy library. The repository has wrappers for standard data types available in C++.

License

Notifications You must be signed in to change notification settings

anubane/numpydtypes

Repository files navigation

Numpy bfloat16 and posit8 datatypes

Based directly on the bfloat16 numpy datatype wrapper by Greenwave Technologies, this repository extends it to add a posit datatype wrapper for numpy.

Whereas Greenwave Technologies used eigen library for the datatype backend, I have used the Stillwater Supercomputing's posit dataype implementation.

How to build the repository

Legacy build method

The setup.cfg file follows this Python tutorial. The custom location is provided using this Python tutorial.

New build method

The method for building the project follows from this blog, the Python packaging tutorial and the pypa setuptools tutorial.

How to use the datatype

About

This repository is for custom dtypes for the numpy library. The repository has wrappers for standard data types available in C++.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published