MCPcopy Index your code
hub / github.com/chainer/chainer

github.com/chainer/chainer @v7.8.1.post1 sqlite

repository ↗ · DeepWiki ↗ · release v7.8.1.post1 ↗
15,323 symbols 45,875 edges 1,166 files 1,501 documented · 10%
README

Chainer: A deep learning framework

pypi GitHub license travis coveralls Read the Docs Optuna

Website | Docs | Install Guide | Tutorials (ja) | Examples (Official, External) | Concepts | ChainerX

Forum (en, ja) | Slack invitation (en, ja) | Twitter (en, ja)

Chainer is a Python-based deep learning framework aiming at flexibility. It provides automatic differentiation APIs based on the define-by-run approach (a.k.a. dynamic computational graphs) as well as object-oriented high-level APIs to build and train neural networks. It also supports CUDA/cuDNN using CuPy for high performance training and inference. For more details about Chainer, see the documents and resources listed above and join the community in Forum, Slack, and Twitter.

Notice: As announced, Chainer is under the maintenance phase and further development will be limited to bug-fixes and maintenance only.

Installation

For more details, see the installation guide.

To install Chainer, use pip.

$ pip install chainer

To enable CUDA support, CuPy is required. Refer to the CuPy installation guide.

Docker image

We are providing the official Docker image. This image supports nvidia-docker. Login to the environment with the following command, and run the Python interpreter to use Chainer with CUDA and cuDNN support.

$ nvidia-docker run -it chainer/chainer /bin/bash

Contribution

See the contribution guide.

ChainerX

See the ChainerX documentation.

License

MIT License (see LICENSE file).

More information

References

Tokui, Seiya, et al. "Chainer: A Deep Learning Framework for Accelerating the Research Cycle." Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. ACM, 2019. URL BibTex

Tokui, S., Oono, K., Hido, S. and Clayton, J., Chainer: a Next-Generation Open Source Framework for Deep Learning, Proceedings of Workshop on Machine Learning Systems(LearningSys) in The Twenty-ninth Annual Conference on Neural Information Processing Systems (NIPS), (2015) URL, BibTex

Akiba, T., Fukuda, K. and Suzuki, S., ChainerMN: Scalable Distributed Deep Learning Framework, Proceedings of Workshop on ML Systems in The Thirty-first Annual Conference on Neural Information Processing Systems (NIPS), (2017) URL, BibTex

Core symbols most depended-on inside this repo

array
called by 844
chainer/variable.py
append
called by 843
chainer/sequential.py
reshape
called by 502
chainer/variable.py
update
called by 472
chainer/variable.py
apply
called by 411
chainer/function_node.py
expect
called by 351
chainer/utils/type_check.py
get_array_module
called by 340
chainermn/communicators/mpi_communicator_base.py
init_scope
called by 256
chainer/link.py

Shape

Method 10,475
Class 2,505
Function 2,281
Route 62

Languages

Python100%

Modules by API surface

tests/chainer_tests/test_variable.py411 symbols
tests/chainer_tests/functions_tests/math_tests/test_basic_math.py399 symbols
tests/chainer_tests/test_link.py246 symbols
tests/chainer_tests/test_function_node.py164 symbols
tests/chainerx_tests/unit_tests/routines_tests/test_manipulation.py137 symbols
chainer/functions/math/basic_math.py135 symbols
tests/chainerx_tests/unit_tests/routines_tests/test_creation.py127 symbols
chainer/variable.py127 symbols
tests/chainer_tests/testing_tests/test_function_link.py122 symbols
tests/chainer_tests/test_gradient_check.py120 symbols
tests/chainer_tests/test_optimizer.py114 symbols
tests/chainer_tests/test_backend.py93 symbols

For agents

$ claude mcp add chainer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact