chainer.utils.type_check.Variable

class chainer.utils.type_check.Variable(value, name)[source]

Methods

__call__(*args)[source]

Call self as a function.

__getitem__(key)[source]
eval()[source]

Evaluates the tree to get actual value.

Behavior of this function depends on an implementation class. For example, a binary operator + calls the __add__ function with the two results of eval() function.

__eq__(y)

Return self==value.

__ne__(y)

Return self!=value.

__lt__(y)

Return self<value.

__le__(y)

Return self<=value.

__gt__(y)

Return self>value.

__ge__(y)

Return self>=value.

__nonzero__()[source]
__bool__()[source]
__neg__()
__add__(y)
__radd__(y)[source]
__sub__(y)
__rsub__(y)[source]
__mul__(y)
__rmul__(y)[source]
__truediv__(y)
__rtruediv__(y)[source]
__floordiv__(y)
__rfloordiv__(y)[source]
__pow__(y)