You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Chainer v3, chainer.Variable has the array property that is equivalent to the data property. It is better to use array because it can catch a bug of unintentionally accessing numpy.ndarray.data.
Note that using this attribute directly is discouraged; use array instead. Using array, you can find an error earlier when your code mixes up Variable and ndarray because ndarray does not have an attribute .array while it has .data.