Variable and Parameter¶
Variable classes and utilities¶
Array with a structure to keep track of computation. |
|
Converts an array or a variable into |
|
Parameter variable that can be registered to a link. |
|
Node in the backward computational graph representing a variable. |
N-dimensional array¶
chainer.Variable holds its value as an n-dimensional array (ndarray).
Chainer supports the following classes:
numpy.ndarray, includingideep4py.mdarray
Note
Python scalars (float, etc.) and NumPy scalars (numpy.float16, numpy.float32, etc.) cannot be used as chainer.Variable.array.
See also chainer.utils.force_array().