chainer.utils.type_check.TypeInfoTuple¶
-
class
chainer.utils.type_check.
TypeInfoTuple
[source]¶ Type information of input/gradient tuples.
It is a sub-class of tuple containing
TypeInfo
. The i-th element of this object contains type information of the i-th input/gradient data. As each element isExpr
, you can easily check its validity.Methods
-
count
()¶ Return number of occurrences of value.
-
index
()¶ Return first index of value.
Raises ValueError if the value is not present.
-