Welcome to cfnet
Key Features
- fast: code runs significantly faster than existing CF explanation libraries.
- scalable: code can be accelerated over CPU, GPU, and TPU
- flexible: we provide flexible API for researchers to allow full customization.
TODO: - implement various methods of CF explanations
Install
cfnet is built on top of
Jax. It also uses
Pytorch to load data.
Running on CPU
If you only need to run cfnet on CPU, you can simply install via pip
or clone the GitHub project.
Installation via PyPI:
pip install cfnet
Editable Install:
git clone https://github.com/BirkhoffG/cfnet.git
pip install -e cfnet
Running on GPU or TPU
If you wish to run cfnet on GPU or TPU, please first install this
library via pip install cfnet.
Then, you should install the right GPU or TPU version of Jax by following steps in the install guidelines.
An Example of using cfnet
See How to use cfnet.
Metadata
Release files for cfnet 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cfnet-0.0.12.tar.gz | 40.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cfnet-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 129.3 kB
Release files / cfnet-0.0.12.tar.gz
| Download URL | cfnet-0.0.12.tar.gz |
|---|---|
| Size | 40.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12dc4b044ddedd52d96b5109237b83a95c4f32a7608f3c32febf8bfe3fd99c2d
|
|
BLAKE2b-256 checksum How to use checksums |
ddfb149b8f7b4dbf75aaa6c8f912a94e59e72312c2d5360f405e3cec4227d8ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.12
|
Release files / cfnet-0.0.12-py3-none-any.whl
| Download URL | cfnet-0.0.12-py3-none-any.whl |
|---|---|
| Size | 89.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8da6865efe8e7c566b582df35db2b59c77202b5164e994f64a0f205c150eb74e
|
|
BLAKE2b-256 checksum How to use checksums |
ab2b7224540e2256b7f175c8871657c36c11d93debb0e2815055757fd86a2bec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.12
|