Skip to content

Latest commit

 

History

History
94 lines (63 loc) · 1.76 KB

util.rst

File metadata and controls

94 lines (63 loc) · 1.76 KB

Utilities

Convolution/Deconvolution utilities

chainer.utils.get_conv_outsize chainer.utils.get_deconv_outsize

Common algorithms

chainer.utils.WalkerAlias

Common utilities

chainer.print_runtime_info

Reporter

chainer

chainer.Reporter chainer.get_current_reporter chainer.report chainer.report_scope

Summary and DictSummary

chainer.Summary chainer.DictSummary

Sparse utilities

A chainer.Variable can be converted into a sparse matrix in e.g. COO (Coordinate list) format. A sparse matrix stores the same data as the original object but with a different internal representation, optimized for efficient operations on sparse data, i.e. data with many zero elements.

Following are a list of supported sparse matrix formats and utilities for converting between a chainer.Variable and these representations.

Note

Please be aware that only certain functions accept sparse matrices as inputs, such as chainer.functions.sparse_matmul.

chainer.utils.CooMatrix chainer.utils.to_coo

Experimental feature annotation

chainer.utils.experimental